function FilterDisableForm::getQuestion

Same name and namespace in other branches
  1. 9 core/modules/filter/src/Form/FilterDisableForm.php \Drupal\filter\Form\FilterDisableForm::getQuestion()
  2. 8.9.x core/modules/filter/src/Form/FilterDisableForm.php \Drupal\filter\Form\FilterDisableForm::getQuestion()
  3. 10 core/modules/filter/src/Form/FilterDisableForm.php \Drupal\filter\Form\FilterDisableForm::getQuestion()

Overrides ConfirmFormInterface::getQuestion

File

core/modules/filter/src/Form/FilterDisableForm.php, line 19

Class

FilterDisableForm
Provides the filter format disable form.

Namespace

Drupal\filter\Form

Code

public function getQuestion() {
    return $this->t('Are you sure you want to disable the text format %format?', [
        '%format' => $this->entity
            ->label(),
    ]);
}

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