You are here

public function SubmitButtonRedirect::configurationFormSubmit in Flexiform 8

The configuration form submit callback.

Parameters

array $form: The form array.

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

Overrides ConfigurableFormEnhancerBase::configurationFormSubmit

File

src/Plugin/FormEnhancer/SubmitButtonRedirect.php, line 82

Class

SubmitButtonRedirect
FormEnhancer for altering the redirects of submit buttons.

Namespace

Drupal\flexiform\Plugin\FormEnhancer

Code

public function configurationFormSubmit(array $form, FormStateInterface $form_state) {
  $this->configuration = $form_state
    ->getValue($form['#parents']);
}