You are here

function theme_openlayers_ui_form_layer_description in Openlayers 6.2

Same name and namespace in other branches
  1. 7.2 modules/openlayers_ui/includes/openlayers_ui.theme.inc \theme_openlayers_ui_form_layer_description()

Theme function for form description of layers

1 theme call to theme_openlayers_ui_form_layer_description()
openlayers_ui_get_layer_options in modules/openlayers_ui/openlayers_ui.module
Get layer options.

File

modules/openlayers_ui/includes/openlayers_ui.theme.inc, line 13
This file holds the theme functions for openlayers ui module

Code

function theme_openlayers_ui_form_layer_description($layer_title = '', $layer_description = '') {
  if ($layer_description) {
    $output = $layer_title . ': <span class="openlayers-form-layer-description">' . $layer_description . '</span>';
  }
  else {
    $output = $layer_title;
  }
  return $output;
}