function WorkspaceActivateForm::getDescription

Same name in this branch
  1. 11.x core/modules/workspaces_ui/src/Form/WorkspaceActivateForm.php \Drupal\workspaces_ui\Form\WorkspaceActivateForm::getDescription()
Same name and namespace in other branches
  1. 10 core/modules/workspaces/src/Form/WorkspaceActivateForm.php \Drupal\workspaces\Form\WorkspaceActivateForm::getDescription()
  2. 9 core/modules/workspaces/src/Form/WorkspaceActivateForm.php \Drupal\workspaces\Form\WorkspaceActivateForm::getDescription()
  3. 8.9.x core/modules/workspaces/src/Form/WorkspaceActivateForm.php \Drupal\workspaces\Form\WorkspaceActivateForm::getDescription()

Overrides EntityConfirmFormBase::getDescription

File

core/modules/workspaces/src/Form/WorkspaceActivateForm.php, line 74

Class

WorkspaceActivateForm
Handle activation of a workspace on administrative pages.

Namespace

Drupal\workspaces\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.