You are here

function openlayers_theme in Openlayers 8.4

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

Implements hook_theme().

File

./openlayers.module, line 11
Contains the openlayers.module file.

Code

function openlayers_theme() {
  return [
    'openlayers_map' => [
      'variables' => [
        'map_id' => NULL,
        'height' => '400px',
        'map' => [],
      ],
    ],
  ];
}