You are here

public function EntityConfirmFormBase::getDescription in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getDescription()
  2. 9 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getDescription()
8 methods override EntityConfirmFormBase::getDescription()
BlockDeleteForm::getDescription in core/modules/block/src/Form/BlockDeleteForm.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.
ImageStyleDeleteForm::getDescription in core/modules/image/src/Form/ImageStyleDeleteForm.php
Returns additional text to display as a description.
LanguageDeleteForm::getDescription in core/modules/language/src/Form/LanguageDeleteForm.php
Returns additional text to display as a description.
MenuDeleteForm::getDescription in core/modules/menu_ui/src/Form/MenuDeleteForm.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.');
}