You are here

public function WorkspaceMergeForm::getDescription in Drupal 8

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

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

core/modules/workspaces/src/Form/WorkspaceMergeForm.php, line 131

Class

WorkspaceMergeForm
Provides a form that merges the contents for a workspace into another one.

Namespace

Drupal\workspaces\Form

Code

public function getDescription() {
  return $this
    ->t('Merge workspace contents.');
}