public function CkeditorTemplateListBuilder::submitForm in Ckeditor templates user interface 8
Form submission handler.
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 DraggableListBuilder::submitForm
File
- src/
Controller/ CkeditorTemplateListBuilder.php, line 82
Class
- CkeditorTemplateListBuilder
- Builds the list of ckeditor templates for the ckeditor template form.
Namespace
Drupal\ckeditor_templates_ui\ControllerCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
$this->messenger
->addStatus($this
->t('The template settings have been updated.'));
}