You are here

public function RebuildPermissionsForm::getConfirmText in Drupal 8

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

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

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

Class

RebuildPermissionsForm
Form for rebuilding permissions.

Namespace

Drupal\node\Form

Code

public function getConfirmText() {
  return t('Rebuild permissions');
}