public function WorkspaceDeleteForm::getQuestion in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x src/Form/WorkspaceDeleteForm.php \Drupal\opigno_moxtra\Form\WorkspaceDeleteForm::getQuestion()
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/ WorkspaceDeleteForm.php, line 17 
Class
- WorkspaceDeleteForm
- Provides a form for deleting a opigno_moxtra_workspace entity.
Namespace
Drupal\opigno_moxtra\FormCode
public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete the %workspace Collaborative Workspace?', [
    '%workspace' => $this->entity
      ->label(),
  ]);
}