public function PanelizerEntityDefault::is_page_manager_enabled in Panelizer 7.3
Identify whether page manager is enabled for this entity type.
Overrides PanelizerEntityInterface::is_page_manager_enabled
3 calls to PanelizerEntityDefault::is_page_manager_enabled()
- PanelizerEntityDefault::add_bundle_setting_form in plugins/
entity/ PanelizerEntityDefault.class.php - Add the panelizer settings form to a single entity bundle config form.
- PanelizerEntityDefault::add_bundle_setting_form_submit in plugins/
entity/ PanelizerEntityDefault.class.php - Submit callback for the bundle edit form.
- PanelizerEntityDefault::check_page_manager_status in plugins/
entity/ PanelizerEntityDefault.class.php - Check if the necessary Page Manager display is enabled and the appropriate variant has not been disabled.
1 method overrides PanelizerEntityDefault::is_page_manager_enabled()
- PanelizerEntityTaxonomyTerm::is_page_manager_enabled in plugins/
entity/ PanelizerEntityTaxonomyTerm.class.php - Identify whether page manager is enabled for this entity type.
File
- plugins/
entity/ PanelizerEntityDefault.class.php, line 3718 - Base class for the Panelizer Entity plugin.
Class
- PanelizerEntityDefault
- Base class for the Panelizer Entity plugin.
Code
public function is_page_manager_enabled() {
return variable_get('page_manager_' . $this->entity_type . '_view_disabled', TRUE);
}