public function FileTypeDisableForm::getConfirmText in File Entity (fieldable files) 8.2
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/ FileTypeDisableForm.php, line 28
Class
- FileTypeDisableForm
- Builds the form to disable a file type.
Namespace
Drupal\file_entity\FormCode
public function getConfirmText() {
return t('Disable');
}