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\Entity

Code

public function getDescription() {
  return $this->t('This action cannot be undone.');
}
doc_Drupal
2016-10-29 08:57:07
Comments
Leave a Comment

Please login to continue.