1 taxonomy_term_depth_access.inc | public TaxonomyTermDepthLayoutAccess::__construct($plugin_name, array $data = array()) |
Constructor for a Layout access rule.
Overrides LayoutAccess::__construct
File
- core/
modules/ taxonomy/ layout/ taxonomy_term_depth_access.inc, line 10 - Plugin to provide access control based upon taxonomy term depth.
Class
- TaxonomyTermDepthLayoutAccess
- @file Plugin to provide access control based upon taxonomy term depth.
Code
public function __construct($plugin_name, array $data = array()) {
parent::__construct($plugin_name, $data);
$this->settings += array(
'depth' => array()
);
}