You are here

public function LayoutBuilderDisableForm::getDescription in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php \Drupal\layout_builder\Form\LayoutBuilderDisableForm::getDescription()
  2. 9 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.');
}