You are here

public function LayoutBuilderDisableForm::getDescription in Drupal 8

Same name and namespace in other branches
  1. 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.');
}