ip_geoloc-2.0.0-alpha0/templates/ip-geoloc-leaflet.html.twig

templates/ip-geoloc-leaflet.html.twig
{#
/**
 * @file
 * ip-geoloc-leaflet.tpl.php
 *
 * This template is used to output a placeholder for a map with location
 * markers taken from a View.
 *
 * Variables available:
 * - $map_id
 * - $height
 * - $view (to add title?)
 */

  $marker_set = \Drupal::state()->get('ip_geoloc_marker_directory', '/markers');
  $marker_set = drupal_substr($marker_set, strrpos($marker_set, '/') + 1);
#}



<div class="ip-geoloc-map leaflet-view {{ marker_set }}">
  <div id="{{ map_id }}" {{ style|raw }}></div>
</div>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc