function FilterDisableForm::getDescription

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

Overrides EntityConfirmFormBase::getDescription

File

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

Class

FilterDisableForm
Provides the filter format disable form.

Namespace

Drupal\filter\Form

Code

public function getDescription() {
    return $this->t('Any content saved with the %format text format will not be displayed on the site until it is resaved with an enabled text format.', [
        '%format' => $this->entity
            ->label(),
    ]);
}

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