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