function SearchPageEditForm::save
Overrides SearchPageFormBase::save
File
-
core/
modules/ search/ src/ Form/ SearchPageEditForm.php, line 26
Class
- SearchPageEditForm
- Provides a form for editing a search page.
Namespace
Drupal\search\FormCode
public function save(array $form, FormStateInterface $form_state) {
parent::save($form, $form_state);
$this->messenger()
->addStatus($this->t('The %label search page has been updated.', [
'%label' => $this->entity
->label(),
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.