You are here

public function GPX::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/GPX/GPX.php, line 23
Source: GPX.

Class

GPX
Class GPX.

Namespace

Drupal\openlayers\Plugin\Source\GPX

Code

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