You are here

function panelizer_has_choice_callback_view_mode in Panelizer 7.3

Menu callback to determine if a type+view_mode has a choice of defaults.

1 string reference to 'panelizer_has_choice_callback_view_mode'
PanelizerEntityDefault::add_admin_links in plugins/entity/PanelizerEntityDefault.class.php
Helper function to add administrative menu items into an entity's already existing structure.

File

./panelizer.module, line 1003
The Panelizer module attaches panels to entities, providing default panels and allowing each panel to be configured independently by privileged users.

Code

function panelizer_has_choice_callback_view_mode($handler, $bundle, $view_mode) {
  return panelizer_has_choice_callback($handler, $bundle . '.' . $view_mode);
}