function FilterFormatFormBase::actions

Same name and namespace in other branches
  1. 8.9.x core/modules/filter/src/FilterFormatFormBase.php \Drupal\filter\FilterFormatFormBase::actions()
  2. 10 core/modules/filter/src/FilterFormatFormBase.php \Drupal\filter\FilterFormatFormBase::actions()
  3. 11.x core/modules/filter/src/FilterFormatFormBase.php \Drupal\filter\FilterFormatFormBase::actions()

Overrides EntityForm::actions

File

core/modules/filter/src/FilterFormatFormBase.php, line 229

Class

FilterFormatFormBase
Provides a base form for a filter format.

Namespace

Drupal\filter

Code

protected function actions(array $form, FormStateInterface $form_state) {
    $actions = parent::actions($form, $form_state);
    $actions['submit']['#value'] = $this->t('Save configuration');
    return $actions;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.