You are here

public function FilterDisableForm::getConfirmText in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/filter/src/Form/FilterDisableForm.php \Drupal\filter\Form\FilterDisableForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

core/modules/filter/src/Form/FilterDisableForm.php, line 36
Contains \Drupal\filter\Form\FilterDisableForm.

Class

FilterDisableForm
Provides the filter format disable form.

Namespace

Drupal\filter\Form

Code

public function getConfirmText() {
  return $this
    ->t('Disable');
}