You are here

function panelizer_operations in Panelizer 7.3

Return list of operations.

See also

hook_panelizer_operations_alter().

11 calls to panelizer_operations()
PanelizerEntityDefault::add_admin_links in plugins/entity/PanelizerEntityDefault.class.php
Helper function to add administrative menu items into an entity's already existing structure.
PanelizerEntityDefault::hook_menu in plugins/entity/PanelizerEntityDefault.class.php
Implements a delegated hook_menu.
PanelizerEntityDefault::hook_permission in plugins/entity/PanelizerEntityDefault.class.php
Implements a delegated hook_permission.
PanelizerEntityDefault::make_fake_tabs in plugins/entity/PanelizerEntityDefault.class.php
Create some fake tabs that are attached to a page output.
PanelizerEntityDefault::page_overview in plugins/entity/PanelizerEntityDefault.class.php
Switched page callback to give the overview page

... See full list

File

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

Code

function panelizer_operations() {
  $operations = array(
    'settings' => array(
      'menu title' => 'Settings',
      'link title' => t('settings'),
      'admin callback' => 'panelizer_default_settings_page',
      // ctools export ui thinks this is 'edit'.
      'ui path' => 'edit',
    ),
    'context' => array(
      'menu title' => 'Context',
      'link title' => t('context'),
      'admin callback' => 'panelizer_default_context_page',
    ),
    'layout' => array(
      'menu title' => 'Layout',
      'link title' => t('layout'),
      'admin callback' => 'panelizer_default_layout_page',
    ),
    'content' => array(
      'menu title' => 'Content',
      'link title' => t('content'),
      'admin callback' => 'panelizer_default_content_page',
    ),
  );
  drupal_alter('panelizer_operations', $operations);
  return $operations;
}