public function FileManagementDeleteFileConfirmForm::getConfirmText in File Management 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/ FileManagementDeleteFileConfirmForm.php, line 67
Class
- FileManagementDeleteFileConfirmForm
- Defines a confirmation form for deleting mymodule data.
Namespace
Drupal\file_management\FormCode
public function getConfirmText() {
return t('Yes.');
}