You are here

public function WorkspaceUnarchiveForm::getDescription in Workspace 8

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

src/Form/WorkspaceUnarchiveForm.php, line 60

Class

WorkspaceUnarchiveForm
Handle workspace unarchive on administrative pages.

Namespace

Drupal\workspace\Form

Code

public function getDescription() {
  return $this
    ->t('This action will unarchive the %workspace workspace.', [
    '%workspace' => $this->workspace
      ->label(),
  ]);
}