You are here

public function WorkspaceUnarchiveForm::getConfirmText in Workspace 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/WorkspaceUnarchiveForm.php, line 53

Class

WorkspaceUnarchiveForm
Handle workspace unarchive on administrative pages.

Namespace

Drupal\workspace\Form

Code

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