public function RebuildPermissionsForm::getConfirmText in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/src/Form/RebuildPermissionsForm.php \Drupal\node\Form\RebuildPermissionsForm::getConfirmText()
- 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\FormCode
public function getConfirmText() {
return $this
->t('Rebuild permissions');
}