You are here

function theme_openlayers_views_group_display_item in Openlayers 7.2

Same name and namespace in other branches
  1. 6.2 modules/openlayers_views/includes/openlayers_views.theme.inc \theme_openlayers_views_group_display_item()

Theme function for openlayers_views_group_display_item

Output of OpenLayers View diplay plugin for grouped items.

1 theme call to theme_openlayers_views_group_display_item()
openlayers_views_style_data::coalesce_groups in modules/openlayers_views/views/openlayers_views_style_data.inc
Coalesce features into single grouped feature when grouping is enabled.

File

modules/openlayers_views/includes/openlayers_views.theme.inc, line 15
This file holds the theme functions for openlayers_views module

Code

function theme_openlayers_views_group_display_item($args) {

  // Build output
  return (!empty($args['name']) ? '<h2 class="point-title openlayers-views-group-feature-name">' . $args['name'] . '</h2>' : '') . (!empty($args['description']) ? '<div class="point-content openlayers-views-group-feature-description">' . $args['description'] . '</div>' : '');
}