You are here

public function FileTypeEnableForm::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/FileTypeEnableForm.php, line 28

Class

FileTypeEnableForm
Builds the form to enable a file type.

Namespace

Drupal\file_entity\Form

Code

public function getConfirmText() {
  return t('Enable');
}