public function DataPolicyRevisionDeleteForm::getConfirmText in Data Policy 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/ DataPolicyRevisionDeleteForm.php, line 102
Class
- DataPolicyRevisionDeleteForm
- Provides a form for deleting a Data policy revision.
Namespace
Drupal\data_policy\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}