namespace Drupal\layout_builder\Form

Same name in other branches
  1. 11.x Drupal\layout_builder\Form
  2. 8.9.x Drupal\layout_builder\Form
  3. 9 Drupal\layout_builder\Form
Object name File name Summary
AddBlockForm core/modules/layout_builder/src/Form/AddBlockForm.php Provides a form to add a block.
ConfigureBlockFormBase core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php Provides a base form for configuring a block.
ConfigureSectionForm core/modules/layout_builder/src/Form/ConfigureSectionForm.php Provides a form for configuring a layout section.
DefaultsEntityForm core/modules/layout_builder/src/Form/DefaultsEntityForm.php Provides a form containing the Layout Builder UI for defaults.
DiscardLayoutChangesForm core/modules/layout_builder/src/Form/DiscardLayoutChangesForm.php Discards any pending changes to the layout.
LayoutBuilderDisableForm core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php Disables Layout Builder for a given default.
LayoutBuilderEntityFormTrait core/modules/layout_builder/src/Form/LayoutBuilderEntityFormTrait.php Provides a trait for common methods used in Layout Builder entity forms.
LayoutBuilderEntityViewDisplayForm core/modules/layout_builder/src/Form/LayoutBuilderEntityViewDisplayForm.php Edit form for the LayoutBuilderEntityViewDisplay entity type.
LayoutBuilderSettingsForm core/modules/layout_builder/src/Form/LayoutBuilderSettingsForm.php Configure layout builder settings for this site.
LayoutRebuildConfirmFormBase core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php Provides a base class for confirmation forms that rebuild the Layout Builder.
MoveBlockForm core/modules/layout_builder/src/Form/MoveBlockForm.php Provides a form for moving a block.
OverridesEntityForm core/modules/layout_builder/src/Form/OverridesEntityForm.php Provides a form containing the Layout Builder UI for overrides.
PreviewToggleTrait core/modules/layout_builder/src/Form/PreviewToggleTrait.php Provides a trait that provides a toggle for the content preview.
RemoveBlockForm core/modules/layout_builder/src/Form/RemoveBlockForm.php Provides a form to confirm the removal of a block.
RemoveSectionForm core/modules/layout_builder/src/Form/RemoveSectionForm.php Provides a form to confirm the removal of a section.
RevertOverridesForm core/modules/layout_builder/src/Form/RevertOverridesForm.php Reverts the overridden layout to the defaults.
UpdateBlockForm core/modules/layout_builder/src/Form/UpdateBlockForm.php Provides a form to update a block.
WorkspaceSafeFormTrait core/modules/layout_builder/src/Form/WorkspaceSafeFormTrait.php Provides a trait that marks Layout Builder forms as workspace-safe.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.