You are here

public function ConfirmationForm::getDescription in Auto Purge Users 8

Same name and namespace in other branches
  1. 8.3 src/Form/ConfirmationForm.php \Drupal\purge_users\Form\ConfirmationForm::getDescription()
  2. 8.2 src/Form/ConfirmationForm.php \Drupal\purge_users\Form\ConfirmationForm::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

src/Form/ConfirmationForm.php, line 41

Class

ConfirmationForm
Class ConfirmationForm.

Namespace

Drupal\purge_users\Form

Code

public function getDescription() {
  return $this
    ->t('Are you sure you want to cancel these user accounts?');
}