You are here

public function MapControl::submitConfigurationForm in Openlayers 8.4

File

src/MapControl.php, line 146

Class

MapControl
Contains details of how a control is joined to a map.

Namespace

Drupal\openlayers

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {

  //    parent::submitConfigurationForm($form, $form_state);
  $this->configuration['base'] = $form_state
    ->getValue('base');
  $this->configuration['title'] = $form_state
    ->getValue('title');
  $this->configuration['visible'] = $form_state
    ->getValue('visible');
}