public function LayoutBuilderDisableForm::getDescription in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php \Drupal\layout_builder\Form\LayoutBuilderDisableForm::getDescription()
- 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\FormCode
public function getDescription() {
return $this
->t('All customizations will be removed. This action cannot be undone.');
}