You are here

public function RebuildPermissionsForm::getDescription in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/node/src/Form/RebuildPermissionsForm.php \Drupal\node\Form\RebuildPermissionsForm::getDescription()
  2. 9 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 $this
    ->t('This action rebuilds all permissions on site content, and may be a lengthy process. This action cannot be undone.');
}