function SearchPageEditForm::actions

Same name in other branches
  1. 9 core/modules/search/src/Form/SearchPageEditForm.php \Drupal\search\Form\SearchPageEditForm::actions()
  2. 10 core/modules/search/src/Form/SearchPageEditForm.php \Drupal\search\Form\SearchPageEditForm::actions()
  3. 11.x 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\Form

Code

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.