function SearchPageAddForm::actions
Same name in other branches
- 8.9.x core/modules/search/src/Form/SearchPageAddForm.php \Drupal\search\Form\SearchPageAddForm::actions()
- 10 core/modules/search/src/Form/SearchPageAddForm.php \Drupal\search\Form\SearchPageAddForm::actions()
- 11.x core/modules/search/src/Form/SearchPageAddForm.php \Drupal\search\Form\SearchPageAddForm::actions()
Overrides EntityForm::actions
File
-
core/
modules/ search/ src/ Form/ SearchPageAddForm.php, line 27
Class
- SearchPageAddForm
- Provides a form for adding 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');
return $actions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.