function openlayers_interaction_form_options in Openlayers 7.3
Interaction options config form handler.
1 string reference to 'openlayers_interaction_form_options'
- openlayers_ui_OpenlayersInteractions_ctools_export_ui in modules/
openlayers_ui/ src/ Plugin/ export_ui/ OpenlayersInteractions.inc - CTools Export UI plugin definition.
File
- modules/
openlayers_ui/ src/ Plugin/ export_ui/ OpenlayersInteractions.inc, line 143 - CTools Export UI plugin definition for interactions.
Code
function openlayers_interaction_form_options($form, &$form_state) {
if (($interaction = \Drupal\openlayers\Openlayers::load('Interaction', $form_state['item'])) == TRUE) {
$interaction
->optionsForm($form, $form_state);
$form['options']['#tree'] = TRUE;
}
return $form;
}