public function WorkspaceActivateForm::getQuestion in Workspace 8.2
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Form/ WorkspaceActivateForm.php, line 64
Class
- WorkspaceActivateForm
- Handle activation of a workspace on administrative pages.
Namespace
Drupal\workspace\FormCode
public function getQuestion() {
return $this
->t('Would you like to activate the %workspace workspace?', [
'%workspace' => $this->entity
->label(),
]);
}