ConfirmFormBase::getDescription

public ConfirmFormBase::getDescription()

Returns additional text to display as a description.

Return value

string The form description.

Overrides ConfirmFormInterface::getDescription

File

core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 13

Class

ConfirmFormBase
Provides an generic base class for a confirmation form.

Namespace

Drupal\Core\Form

Code

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

Please login to continue.