public function EntityConfirmFormBase::getDescription in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getDescription()
- 10 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
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.
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\EntityCode
public function getDescription() {
return $this
->t('This action cannot be undone.');
}