You are here

function openlayers_plus_theme in OpenLayers Plus 7.3

Same name and namespace in other branches
  1. 7 openlayers_plus.module \openlayers_plus_theme()
  2. 7.2 openlayers_plus.module \openlayers_plus_theme()

Implements hook_theme().

File

./openlayers_plus.module, line 52
Openlayers_plus module file.

Code

function openlayers_plus_theme() {
  return array(
    'openlayers_plus_blockswitcher' => array(
      'variables' => array(),
      'path' => drupal_get_path('module', 'openlayers_plus') . '/theme',
      'template' => 'openlayers-plus-blockswitcher',
      'file' => 'theme.inc',
    ),
    'openlayers_plus_blocktoggle' => array(
      'variables' => array(
        'a_label' => '',
        'b_label' => '',
      ),
      'path' => drupal_get_path('module', 'openlayers_plus') . '/theme',
      'template' => 'openlayers-plus-blocktoggle',
      'file' => 'theme.inc',
    ),
    'openlayers_plus_legend_raw' => array(
      'variables' => array(
        'raw' => '',
        'layer' => array(),
        'layer_id' => array(),
      ),
      'path' => drupal_get_path('module', 'openlayers_plus') . '/theme',
      'template' => 'openlayers-plus-legend-raw',
      'file' => 'theme.inc',
    ),
    'openlayers_plus_legend' => array(
      'variables' => array(
        'legend' => array(),
        'layer' => array(),
        'layer_id' => array(),
      ),
      'path' => drupal_get_path('module', 'openlayers_plus') . '/theme',
      'template' => 'openlayers-plus-legend',
      'file' => 'theme.inc',
    ),
  );
}