public function ConfigurationForm::submitFormSuccess in Purge 8.3
Form submission handler only called when there are no validation errors.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides PluginConfigFormBase::submitFormSuccess
File
- modules/
purge_queuer_coretags/ src/ Form/ ConfigurationForm.php, line 129
Class
- ConfigurationForm
- Configuration form for the Core Tags queuer.
Namespace
Drupal\purge_queuer_coretags\FormCode
public function submitFormSuccess(array &$form, FormStateInterface $form_state) {
$this
->config('purge_queuer_coretags.settings')
->set('blacklist', $form_state
->getValue('blacklist'))
->save();
}