public function WorkspaceDeleteForm::getDescription in Drupal 9
Same name and namespace in other branches
- 8 core/modules/workspaces/src/Form/WorkspaceDeleteForm.php \Drupal\workspaces\Form\WorkspaceDeleteForm::getDescription()
- 10 core/modules/workspaces/src/Form/WorkspaceDeleteForm.php \Drupal\workspaces\Form\WorkspaceDeleteForm::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ContentEntityConfirmFormBase::getDescription
File
- core/
modules/ workspaces/ src/ Form/ WorkspaceDeleteForm.php, line 111
Class
- WorkspaceDeleteForm
- Provides a form for deleting a workspace.
Namespace
Drupal\workspaces\FormCode
public function getDescription() {
return $this
->t('This action cannot be undone, and will also delete all content created in this workspace.');
}