function ContentEntityConfirmFormBase::getDescription
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php \Drupal\Core\Entity\ContentEntityConfirmFormBase::getDescription()
- 8.9.x core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php \Drupal\Core\Entity\ContentEntityConfirmFormBase::getDescription()
- 10 core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php \Drupal\Core\Entity\ContentEntityConfirmFormBase::getDescription()
Overrides ConfirmFormInterface::getDescription
1 call to ContentEntityConfirmFormBase::getDescription()
- ContentEntityConfirmFormBase::buildForm in core/
lib/ Drupal/ Core/ Entity/ ContentEntityConfirmFormBase.php
5 methods override ContentEntityConfirmFormBase::getDescription()
- BlockContentDeleteForm::getDescription in core/
modules/ block_content/ src/ Form/ BlockContentDeleteForm.php - Returns additional text to display as a description.
- DeleteForm::getDescription in core/
modules/ comment/ src/ Form/ DeleteForm.php - Returns additional text to display as a description.
- TermDeleteForm::getDescription in core/
modules/ taxonomy/ src/ Form/ TermDeleteForm.php - Returns additional text to display as a description.
- UserCancelForm::getDescription in core/
modules/ user/ src/ Form/ UserCancelForm.php - Returns additional text to display as a description.
- WorkspaceDeleteForm::getDescription in core/
modules/ workspaces/ src/ Form/ WorkspaceDeleteForm.php - Returns additional text to display as a description.
File
-
core/
lib/ Drupal/ Core/ Entity/ ContentEntityConfirmFormBase.php, line 24
Class
- ContentEntityConfirmFormBase
- Provides a generic base class for an entity-based confirmation form.
Namespace
Drupal\Core\EntityCode
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.