You are here

function openlayers_behavior_attribution::options_form in Openlayers 7.2

Same name and namespace in other branches
  1. 6.2 includes/behaviors/openlayers_behavior_attribution.inc \openlayers_behavior_attribution::options_form()

Overrides openlayers_behavior::options_form

File

plugins/behaviors/openlayers_behavior_attribution.inc, line 24
Implementation of OpenLayers behavior.

Class

openlayers_behavior_attribution
Attribution Behavior

Code

function options_form($defaults = array()) {
  return array(
    'separator' => array(
      '#type' => 'textfield',
      '#title' => t('separator'),
      '#description' => t('For multiple layers that need attribution, provide a separation string.'),
      '#default_value' => isset($defaults['separator']) ? $defaults['separator'] : FALSE,
    ),
  );
}