function WorkspaceDeleteForm::getDescription

Same name and namespace in other branches
  1. 9 core/modules/workspaces/src/Form/WorkspaceDeleteForm.php \Drupal\workspaces\Form\WorkspaceDeleteForm::getDescription()
  2. 8.9.x core/modules/workspaces/src/Form/WorkspaceDeleteForm.php \Drupal\workspaces\Form\WorkspaceDeleteForm::getDescription()
  3. 10 core/modules/workspaces/src/Form/WorkspaceDeleteForm.php \Drupal\workspaces\Form\WorkspaceDeleteForm::getDescription()

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.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.