function SearchPageEditForm::actions
Same name in other branches
- 9 core/modules/search/src/Form/SearchPageEditForm.php \Drupal\search\Form\SearchPageEditForm::actions()
- 8.9.x core/modules/search/src/Form/SearchPageEditForm.php \Drupal\search\Form\SearchPageEditForm::actions()
- 10 core/modules/search/src/Form/SearchPageEditForm.php \Drupal\search\Form\SearchPageEditForm::actions()
Overrides EntityForm::actions
File
-
core/
modules/ search/ src/ Form/ SearchPageEditForm.php, line 17
Class
- SearchPageEditForm
- Provides a form for editing a search page.
Namespace
Drupal\search\FormCode
protected function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
$actions['submit']['#value'] = $this->t('Save search page');
return $actions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.