public function ContentEntityConfirmFormBase::getDescription
public ContentEntityConfirmFormBase::getDescription()
Returns additional text to display as a description.
Return value
string The form description.
Overrides ConfirmFormInterface::getDescription
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.'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityConfirmFormBase.php/function/ContentEntityConfirmFormBase::getDescription/8.1.x