function EntityConfirmFormBase::getDescription

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getDescription()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getDescription()
  3. 11.x core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getDescription()

Overrides ConfirmFormInterface::getDescription

1 call to EntityConfirmFormBase::getDescription()
EntityConfirmFormBase::buildForm in core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php
Form constructor.
11 methods override EntityConfirmFormBase::getDescription()
BlockDeleteForm::getDescription in core/modules/block/src/Form/BlockDeleteForm.php
Returns additional text to display as a description.
BreakLockForm::getDescription in core/modules/views_ui/src/Form/BreakLockForm.php
Returns additional text to display as a description.
EntityDisplayModeDeleteForm::getDescription in core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php
Returns additional text to display as a description.
FilterDisableForm::getDescription in core/modules/filter/src/Form/FilterDisableForm.php
Returns additional text to display as a description.
ImageStyleDeleteForm::getDescription in core/modules/image/src/Form/ImageStyleDeleteForm.php
Returns additional text to display as a description.

... See full list

File

core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php, line 26

Class

EntityConfirmFormBase
Provides a generic base class for an entity-based confirmation form.

Namespace

Drupal\Core\Entity

Code

public function getDescription() {
    return $this->t('This action cannot be undone.');
}

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