You are here

public function PanelizerEntityDefault::get_default_display_variable_name in Panelizer 7.3

Determine the variable name used to identify the default display for the given bundle/view mode combination.

Overrides PanelizerEntityInterface::get_default_display_variable_name

1 call to PanelizerEntityDefault::get_default_display_variable_name()
PanelizerEntityDefault::get_default_display_name in plugins/entity/PanelizerEntityDefault.class.php
Determine the default display name for a given bundle & view mode combination.

File

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

Class

PanelizerEntityDefault
Base class for the Panelizer Entity plugin.

Code

public function get_default_display_variable_name($bundle, $view_mode = 'page_manager') {
  return 'panelizer_' . $this->entity_type . ':' . $bundle . ':' . $view_mode . '_selection';
}