function ActionFormBase::submitForm

Same name in other branches
  1. 9 core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::submitForm()
  2. 8.9.x core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::submitForm()
  3. 11.x core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::submitForm()

Overrides EntityForm::submitForm

File

core/modules/action/src/Form/ActionFormBase.php, line 123

Class

ActionFormBase
Provides a base form for action forms.

Namespace

Drupal\action\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
    parent::submitForm($form, $form_state);
    if ($plugin = $this->getPlugin()) {
        $plugin->submitConfigurationForm($form, $form_state);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.