You are here

function angularjs_map_theme in AngularJS 7

File

modules/angularjs_map/angularjs_map.module, line 60

Code

function angularjs_map_theme($existing, $type, $theme, $path) {
  $theme = array();
  $theme['angularjs_map_app'] = array(
    'variables' => array(),
    'template' => 'angularjs-map-app',
  );
  $theme['angular_js_map_map'] = array(
    'variables' => array(
      'height' => '500px',
      'width' => NULL,
      'zoom' => 13,
    ),
    'template' => 'angularjs-map-map',
  );
  return $theme;
}