You are here

function PanelizerEntityDefault::wrap_entity_panelizer_pages in Panelizer 7.3

Provides a wrapper for the panelizer page output.

Drupal only supports 2 levels of tabs, but we need a 3rd level. We will fake it.

4 calls to PanelizerEntityDefault::wrap_entity_panelizer_pages()
PanelizerEntityDefault::page_content in plugins/entity/PanelizerEntityDefault.class.php
PanelizerEntityDefault::page_context in plugins/entity/PanelizerEntityDefault.class.php
PanelizerEntityDefault::page_layout in plugins/entity/PanelizerEntityDefault.class.php
PanelizerEntityDefault::page_settings in plugins/entity/PanelizerEntityDefault.class.php
Switched page callback to give the settings form.

File

plugins/entity/PanelizerEntityDefault.class.php, line 2307
Base class for the Panelizer Entity plugin.

Class

PanelizerEntityDefault
Base class for the Panelizer Entity plugin.

Code

function wrap_entity_panelizer_pages($entity, $view_mode, $output) {
  $base_url = $this
    ->entity_base_url($entity, $view_mode);
  return $this
    ->make_fake_tabs($base_url, $entity, $view_mode, $output);
}