You are here

public function Export::optionsForm in Openlayers 7.3

@TODO What is this return? If it is the form, why is form by reference?

Overrides Base::optionsForm

File

modules/openlayers_library/src/Plugin/Control/Export/Export.php, line 23
Control: Attribution.

Class

Export
Class Export.

Namespace

Drupal\openlayers_library\Plugin\Control\Export

Code

public function optionsForm(array &$form, array &$form_state) {
  $form['options']['exportTipLabel'] = array(
    '#type' => 'textfield',
    '#title' => 'Label',
    '#default_value' => $this
      ->getOption('exportTipLabel', 'Export as image'),
  );
}