public function PanelizerEntityDefault::get_page_manager_task_name in Panelizer 7.3
Obtain the machine name of the Page Manager task.
Return value
string The machine name for the Page Manager task; returns FALSE if this entity does not support Page Manager.
Overrides PanelizerEntityInterface::get_page_manager_task_name
2 calls to PanelizerEntityDefault::get_page_manager_task_name()
- PanelizerEntityDefault::add_bundle_setting_form in plugins/
entity/ PanelizerEntityDefault.class.php - Add the panelizer settings form to a single entity bundle config 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::get_page_manager_task_name()
- PanelizerEntityTaxonomyTerm::get_page_manager_task_name in plugins/
entity/ PanelizerEntityTaxonomyTerm.class.php - Obtain the machine name of the Page Manager task.
File
- plugins/
entity/ PanelizerEntityDefault.class.php, line 816 - Base class for the Panelizer Entity plugin.
Class
- PanelizerEntityDefault
- Base class for the Panelizer Entity plugin.
Code
public function get_page_manager_task_name() {
if (empty($this->plugin['uses page manager'])) {
return FALSE;
}
else {
return $this->entity_type . '_view';
}
}