You are here

function openlayers_theme in Openlayers 7.3

Same name and namespace in other branches
  1. 8.4 openlayers.module \openlayers_theme()
  2. 6.2 openlayers.module \openlayers_theme()
  3. 6 openlayers.module \openlayers_theme()
  4. 7.2 openlayers.module \openlayers_theme()

Implements hook_theme().

File

./openlayers.module, line 75
Openlayers module.

Code

function openlayers_theme($existing, $type, $theme, $path) {
  return array(
    'openlayers' => array(
      'path' => $path . '/theme',
      'template' => 'openlayers',
      'render element' => 'openlayers',
      'file' => 'openlayers.theme.inc',
    ),
  );
}