You are here

function openlayers_behavior_geofield::options_init in Geofield 7

Same name and namespace in other branches
  1. 7.2 includes/behaviors/openlayers_behavior_geofield.inc \openlayers_behavior_geofield::options_init()

Provide initial values for options.

Overrides openlayers_behavior::options_init

File

includes/behaviors/openlayers_behavior_geofield.inc, line 16
Implementation of OpenLayers behavior.

Class

openlayers_behavior_geofield
Map Form Values Behavior

Code

function options_init() {
  return array(
    'feature_types' => array(),
    'allow_edit' => 1,
  );
}