You are here

public function FileMimeApplyForm::getConfirmText in File MIME 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/FileMimeApplyForm.php, line 40

Class

FileMimeApplyForm
Implements the file MIME apply settings form.

Namespace

Drupal\filemime\Form

Code

public function getConfirmText() {
  return $this
    ->t('Apply');
}