public function AuthorizationProfileDeleteForm::getConfirmText in Authorization 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ AuthorizationProfileDeleteForm.php, line 34
Class
- AuthorizationProfileDeleteForm
- Builds the form to delete Authorization profile entities.
Namespace
Drupal\authorization\FormCode
public function getConfirmText() : TranslatableMarkup {
return $this
->t('Delete');
}