You are here

public function ProdCheckBase::submitConfigurationForm in Production check & Production monitor 8

Form submission handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides PluginFormInterface::submitConfigurationForm

3 calls to ProdCheckBase::submitConfigurationForm()
ErrorReporting::submitConfigurationForm in src/Plugin/ProdCheck/Settings/ErrorReporting.php
Form submission handler.
ReleaseNotes::submitConfigurationForm in src/Plugin/ProdCheck/Server/ReleaseNotes.php
Form submission handler.
UserRegister::submitConfigurationForm in src/Plugin/ProdCheck/Settings/UserRegister.php
Form submission handler.
3 methods override ProdCheckBase::submitConfigurationForm()
ErrorReporting::submitConfigurationForm in src/Plugin/ProdCheck/Settings/ErrorReporting.php
Form submission handler.
ReleaseNotes::submitConfigurationForm in src/Plugin/ProdCheck/Server/ReleaseNotes.php
Form submission handler.
UserRegister::submitConfigurationForm in src/Plugin/ProdCheck/Settings/UserRegister.php
Form submission handler.

File

src/Plugin/ProdCheck/ProdCheckBase.php, line 228

Class

ProdCheckBase
Base class for all the prod check plugins.

Namespace

Drupal\prod_check\Plugin\ProdCheck

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this->configuration['severity'] = $form_state
    ->getValue('severity');
}