You are here

public function ThemeExperimentalConfirmForm::getDescription in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/src/Form/ThemeExperimentalConfirmForm.php \Drupal\system\Form\ThemeExperimentalConfirmForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

core/modules/system/src/Form/ThemeExperimentalConfirmForm.php, line 82

Class

ThemeExperimentalConfirmForm
Builds a confirmation form for enabling experimental themes.

Namespace

Drupal\system\Form

Code

public function getDescription() {
  return $this
    ->t('Would you like to continue with the above?');
}