function WorkspaceActivateForm::getQuestion
Same name in other branches
- 9 core/modules/workspaces/src/Form/WorkspaceActivateForm.php \Drupal\workspaces\Form\WorkspaceActivateForm::getQuestion()
- 8.9.x core/modules/workspaces/src/Form/WorkspaceActivateForm.php \Drupal\workspaces\Form\WorkspaceActivateForm::getQuestion()
- 10 core/modules/workspaces/src/Form/WorkspaceActivateForm.php \Drupal\workspaces\Form\WorkspaceActivateForm::getQuestion()
Overrides ConfirmFormInterface::getQuestion
File
-
core/
modules/ workspaces/ src/ Form/ WorkspaceActivateForm.php, line 67
Class
- WorkspaceActivateForm
- Handle activation of a workspace on administrative pages.
Namespace
Drupal\workspaces\FormCode
public function getQuestion() {
return $this->t('Would you like to 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.