public function FileDeleteForm::getConfirmText in File Delete (D8/D9) 8
Same name and namespace in other branches
- 2.1.x src/Form/FileDeleteForm.php \Drupal\file_delete\Form\FileDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Form/ FileDeleteForm.php, line 74
Class
- FileDeleteForm
- Provides a form for deleting a File.
Namespace
Drupal\file_delete\FormCode
public function getConfirmText() {
return $this
->t('Delete File');
}