public function FileManagementDeleteFileConfirmForm::getCancelText in File Management 8
Returns a caption for the link which cancels the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.
Overrides ConfirmFormBase::getCancelText
File
- src/
Form/ FileManagementDeleteFileConfirmForm.php, line 74
Class
- FileManagementDeleteFileConfirmForm
- Defines a confirmation form for deleting mymodule data.
Namespace
Drupal\file_management\FormCode
public function getCancelText() {
return t('No, go back.');
}