You are here

public function TileDebug::optionsForm in Openlayers 7.3

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

Overrides Base::optionsForm

File

src/Plugin/Source/TileDebug/TileDebug.php, line 23
Source: TileDebug.

Class

TileDebug
Class TileDebug.

Namespace

Drupal\openlayers\Plugin\Source\TileDebug

Code

public function optionsForm(array &$form, array &$form_state) {
  $form['options']['maxZoom'] = array(
    '#title' => t('Maxzoom'),
    '#type' => 'textfield',
    '#default_value' => $this
      ->getOption('maxZoom', 22),
  );
}