public function PanelizerEntityDefault::is_panelized in Panelizer 7.2
Same name and namespace in other branches
- 7.3 plugins/entity/PanelizerEntityDefault.class.php \PanelizerEntityDefault::is_panelized()
Determine if a bundle is panelized.
Overrides PanelizerEntityInterface::is_panelized
6 calls to PanelizerEntityDefault::is_panelized()
- PanelizerEntityDefault::access_admin in plugins/
entity/ PanelizerEntityDefault.class.php - PanelizerEntityDefault::has_default_panel in plugins/
entity/ PanelizerEntityDefault.class.php - Determine if a bundle has a default panel.
- PanelizerEntityDefault::hook_entity_insert in plugins/
entity/ PanelizerEntityDefault.class.php - PanelizerEntityDefault::hook_entity_load in plugins/
entity/ PanelizerEntityDefault.class.php - PanelizerEntityDefault::hook_entity_update in plugins/
entity/ PanelizerEntityDefault.class.php
File
- plugins/
entity/ PanelizerEntityDefault.class.php, line 1226 - Base class for the Panelizer Entity plugin.
Class
- PanelizerEntityDefault
- Base class for the Panelizer Entity plugin.
Code
public function is_panelized($bundle) {
return !empty($this->plugin['bundles'][$bundle]) && !empty($this->plugin['bundles'][$bundle]['status']);
}