You are here

public function RebuildPermissionsForm::getDescription in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/node/src/Form/RebuildPermissionsForm.php \Drupal\node\Form\RebuildPermissionsForm::getDescription()
  2. 10 core/modules/node/src/Form/RebuildPermissionsForm.php \Drupal\node\Form\RebuildPermissionsForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

core/modules/node/src/Form/RebuildPermissionsForm.php, line 47

Class

RebuildPermissionsForm
Form for rebuilding permissions.

Namespace

Drupal\node\Form

Code

public function getDescription() {
  return t('This action rebuilds all permissions on site content, and may be a lengthy process. This action cannot be undone.');
}