1 entity_layout_context_handler.inc | EntityLayoutContext::__construct($plugin_name, $config = array()) |
Constructor for LayoutContext objects.
Overrides LayoutContext::__construct
File
- core/
modules/ layout/ plugins/ context/ entity_layout_context_handler.inc, line 14 - Layout context handler for entities.
Class
- EntityLayoutContext
- @file Layout context handler for entities.
Code
function __construct($plugin_name, $config = array()) {
parent::__construct($plugin_name, $config);
$this->entity_type = $plugin_name;
$this->aliases = array('entity');
}