You are here

function geofield_map_theme in Geofield Map 8

Same name and namespace in other branches
  1. 8.2 geofield_map.module \geofield_map_theme()

Implements hook_theme().

File

./geofield_map.module, line 32
Contains the geofield_map.module.

Code

function geofield_map_theme($existing, $type, $theme, $path) {
  return [
    'geofield_map_widget' => [
      'variables' => [
        'mapid' => NULL,
        'width' => '100%',
        'height' => '450px',
      ],
    ],
    'geofield_google_map' => [
      'variables' => [
        'mapid' => NULL,
        'width' => '100%',
        'height' => '450px',
      ],
    ],
  ];
}