You are here

function geolocation_theme_suggestions_geolocation_common_map_display in Geolocation Field 8

Implements hook_theme_suggestions_HOOK().

File

./geolocation.module, line 90
Defines a simple geolocation field type.

Code

function geolocation_theme_suggestions_geolocation_common_map_display(array $variables) {
  $suggestions = [];
  if (!empty($variables['view']) && $variables['view'] instanceof ViewExecutable) {
    $suggestions = $variables['view']
      ->buildThemeFunctions('geolocation_common_map_display');
  }
  return $suggestions;
}