EntityConfirmFormBase::getDescription

public EntityConfirmFormBase::getDescription()

Returns additional text to display as a description.

Return value

string The form description.

Overrides ConfirmFormInterface::getDescription

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.');
}
doc_Drupal
2016-10-29 09:04:44
Comments
Leave a Comment

Please login to continue.