You are here

public function LayoutBuilderDisableForm::getDescription in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php \Drupal\layout_builder\Form\LayoutBuilderDisableForm::getDescription()
  2. 10 core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php \Drupal\layout_builder\Form\LayoutBuilderDisableForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php, line 75

Class

LayoutBuilderDisableForm
Disables Layout Builder for a given default.

Namespace

Drupal\layout_builder\Form

Code

public function getDescription() {
  return $this
    ->t('All customizations will be removed. This action cannot be undone.');
}