You are here

function panels_everywhere_theme in Panels Everywhere 6

Same name and namespace in other branches
  1. 7 panels_everywhere.module \panels_everywhere_theme()

Implementation of hook_theme()

File

./panels_everywhere.module, line 38
panels_everywhere.module

Code

function panels_everywhere_theme() {
  $theme = array();
  $path = drupal_get_path('module', 'panels_everywhere') . '/theme';
  $base = array(
    'file' => 'theme.inc',
    'path' => $path,
  );
  $theme['pane_header'] = array(
    'arguments' => array(),
    'template' => 'pane-header',
  ) + $base;
  $theme['pane_messages'] = array(
    'arguments' => array(),
    'template' => 'pane-messages',
  ) + $base;
  $theme['pane_navigation'] = array(
    'arguments' => array(),
    'template' => 'pane-navigation',
  ) + $base;
  return $theme;
}