1 user_compare_layout_access.inc | public UserCompareLayoutAccess::__construct($plugin_name, array $data = array()) |
Constructor for a Layout access rule.
Overrides LayoutAccess::__construct
File
- core/
modules/ layout/ plugins/ access/ user_compare_layout_access.inc, line 14 - Contains UserCompareLayoutAccess class.
Class
- UserCompareLayoutAccess
- Plugin to provide access if two user account contexts are the same.
Code
public function __construct($plugin_name, array $data = array()) {
parent::__construct($plugin_name, $data);
$this->settings += array(
'equality' => 1,
);
}