1 language_layout_access.inc LanguageLayoutAccess::__construct($plugin_name, array $data = array())

Constructor for a Layout access rule.

Overrides LayoutAccess::__construct

File

core/modules/layout/plugins/access/language_layout_access.inc, line 11
Plugin to provide access control based upon the current site language.

Class

LanguageLayoutAccess

Code

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