public function AutoZoom::optionsForm in Openlayers 7.3
@TODO What is this return? If it is the form, why is form by reference?
Overrides ZoomToSource::optionsForm
File
- modules/
openlayers_library/ src/ Plugin/ Control/ AutoZoom/ AutoZoom.php, line 25 - Control: Attribution.
Class
- AutoZoom
- Class AutoZoom.
Namespace
Drupal\openlayers_library\Plugin\Control\AutoZoomCode
public function optionsForm(array &$form, array &$form_state) {
parent::optionsForm($form, $form_state);
unset($form['options']['source']);
}