public function ProtectedPagesDeleteConfirmForm::getConfirmText in Protected Pages 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ ProtectedPagesDeleteConfirmForm.php, line 94
Class
- ProtectedPagesDeleteConfirmForm
- Provides delete protected page confirm form.
Namespace
Drupal\protected_pages\FormCode
public function getConfirmText() {
return $this
->t('Remove password');
}