public function openlayers_simple::options_form in Openlayers 7.2
Implementation of boxes_content::options_form().
Overrides boxes_box::options_form
File
- plugins/
boxes/ openlayers_simple.inc, line 19
Class
- openlayers_simple
- OpenLayers Box
Code
public function options_form(&$form_state) {
$form = array();
// Map objects
$form['map'] = array(
'#type' => 'select',
'#title' => t('Map'),
'#description' => t('This is map that will be used to render the view.'),
'#options' => openlayers_map_options(),
'#default_value' => $this->options['map'] ? $this->options['map'] : variable_get('openlayers_default_map', 'default'),
);
return $form;
}