public function ThemeSwitcherRuleListBuilder::submitForm in Theme Switcher Rules 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/ ThemeSwitcherRuleListBuilder.php, line 90
Class
- ThemeSwitcherRuleListBuilder
- Provides a listing of theme_switcher_rule.
Namespace
Drupal\theme_switcher\ControllerCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
$this->messenger
->addMessage($this
->t('Configuration saved.'));
}