You are here

public function FormEntryTypeBase::submitConfigurationForm in Flag 8.4

Processes the action link setting form submit.

Derived classes will want to override this method.

Parameters

array $form: The form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

Overrides ActionLinkTypeBase::submitConfigurationForm

File

src/Plugin/ActionLink/FormEntryTypeBase.php, line 122

Class

FormEntryTypeBase
Base class for link types using form entry.

Namespace

Drupal\flag\Plugin\ActionLink

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  parent::submitConfigurationForm($form, $form_state);
  foreach (array_keys($this
    ->defaultConfiguration()) as $key) {
    $this->configuration[$key] = $form_state
      ->getValue($key);
  }
}