1 path_layout_access.inc PathLayoutAccess::__construct($plugin_name, array $data = array())

Constructor for a Layout access rule.

Overrides LayoutAccess::__construct

File

core/modules/layout/plugins/access/path_layout_access.inc, line 10
Plugin to provide access control/visibility based on path.

Class

PathLayoutAccess
@file Plugin to provide access control/visibility based on path.

Code

function __construct($plugin_name, array $data = array()) {
  parent::__construct($plugin_name, $data);
  $this->settings += array(
    'visibility_setting' => 1,
    'paths' => '',
  );
}