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. 10 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
12 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.
FilterEnableForm::getDescription in core/modules/filter/src/Form/FilterEnableForm.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.