You are here

public function WorkspaceDeleteForm::getDescription in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/workspaces/src/Form/WorkspaceDeleteForm.php \Drupal\workspaces\Form\WorkspaceDeleteForm::getDescription()
  2. 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\Form

Code

public function getDescription() {
  return $this
    ->t('This action cannot be undone, and will also delete all content created in this workspace.');
}