public function FileHashGenerateForm::getConfirmText in File Hash 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/ FileHashGenerateForm.php, line 39
Class
- FileHashGenerateForm
- Implements the file MIME generate settings form.
Namespace
Drupal\filehash\FormCode
public function getConfirmText() {
return $this
->t('Generate');
}