You are here

public function SwitchToLiveForm::getDescription in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/workspaces/src/Form/SwitchToLiveForm.php \Drupal\workspaces\Form\SwitchToLiveForm::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/SwitchToLiveForm.php, line 60

Class

SwitchToLiveForm
Provides a form that switches to the live version of the site.

Namespace

Drupal\workspaces\Form

Code

public function getDescription() {
  return $this
    ->t('Switch to the live version of the site.');
}