function PanelizerEntityDefault::init in Panelizer 7.2
Same name and namespace in other branches
- 7.3 plugins/entity/PanelizerEntityDefault.class.php \PanelizerEntityDefault::init()
Initialize the plugin and store the plugin info.
Overrides PanelizerEntityInterface::init
File
- plugins/
entity/ PanelizerEntityDefault.class.php, line 183 - Base class for the Panelizer Entity plugin.
Class
- PanelizerEntityDefault
- Base class for the Panelizer Entity plugin.
Code
function init($plugin) {
$this->plugin = $plugin;
$this->entity_type = $plugin['name'];
}