You are here

function panelizer_menu in Panelizer 7.2

Same name and namespace in other branches
  1. 6 panelizer.module \panelizer_menu()
  2. 7.3 panelizer.module \panelizer_menu()
  3. 7 panelizer.module \panelizer_menu()

Implements hook_menu().

File

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

Code

function panelizer_menu() {
  $items = array();

  // Delegate admin menu stuff to admin.inc
  ctools_include('admin', 'panelizer');
  panelizer_admin_hook_menu($items);

  // Delegate.
  foreach (panelizer_get_plugins_with_hook('menu') as $handler) {
    $handler
      ->hook_menu($items);
  }
  return $items;
}