function FilterFormatListBuilder::buildForm

Overrides DraggableListBuilder::buildForm

File

core/modules/filter/src/FilterFormatListBuilder.php, line 152

Class

FilterFormatListBuilder
Defines a class to build a listing of filter format entities.

Namespace

Drupal\filter

Code

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

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