public function SwitchToLiveForm::getDescription in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/src/Form/SwitchToLiveForm.php \Drupal\workspaces\Form\SwitchToLiveForm::getDescription()
- 10 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\FormCode
public function getDescription() {
return $this
->t('Switch to the live version of the site.');
}