You are here

function panelizer_theme in Panelizer 7.2

Same name and namespace in other branches
  1. 8.5 panelizer.module \panelizer_theme()
  2. 8.3 panelizer.module \panelizer_theme()
  3. 8.4 panelizer.module \panelizer_theme()
  4. 6 panelizer.module \panelizer_theme()
  5. 7.3 panelizer.module \panelizer_theme()
  6. 7 panelizer.module \panelizer_theme()

Implements hook_theme().

File

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

Code

function panelizer_theme() {
  $items = array();
  $items['panelizer_settings_page_table'] = array(
    'render element' => 'element',
    'file' => 'includes/admin.inc',
  );

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