diff --git a/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php b/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php index 5bd3e7b4d4..11d089291c 100644 --- a/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php +++ b/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php @@ -19,6 +19,9 @@ * Provides an entity view display entity that has a layout. * * @internal + * Layout Builder is currently experimental and should only be leveraged by + * experimental modules and development releases of contributed modules. + * See https://www.drupal.org/core/experimental for more information. */ class LayoutBuilderEntityViewDisplay extends BaseEntityViewDisplay implements LayoutEntityDisplayInterface { diff --git a/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplayStorage.php b/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplayStorage.php index da3c874ad1..e86df9daf8 100644 --- a/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplayStorage.php +++ b/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplayStorage.php @@ -9,6 +9,11 @@ /** * Provides storage for entity view display entities that have layouts. + * + * @internal + * Layout Builder is currently experimental and should only be leveraged by + * experimental modules and development releases of contributed modules. + * See https://www.drupal.org/core/experimental for more information. */ class LayoutBuilderEntityViewDisplayStorage extends ConfigEntityStorage { diff --git a/core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php b/core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php index 297055401e..1affc53b39 100644 --- a/core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php +++ b/core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php @@ -9,6 +9,9 @@ * Provides an interface for entity displays that have layout. * * @internal + * Layout Builder is currently experimental and should only be leveraged by + * experimental modules and development releases of contributed modules. + * See https://www.drupal.org/core/experimental for more information. */ interface LayoutEntityDisplayInterface extends EntityDisplayInterface, SectionStorageInterface { diff --git a/core/modules/layout_builder/src/Form/LayoutBuilderEntityViewDisplayForm.php b/core/modules/layout_builder/src/Form/LayoutBuilderEntityViewDisplayForm.php index c68f2b77c5..9fa20648ff 100644 --- a/core/modules/layout_builder/src/Form/LayoutBuilderEntityViewDisplayForm.php +++ b/core/modules/layout_builder/src/Form/LayoutBuilderEntityViewDisplayForm.php @@ -11,6 +11,9 @@ * Edit form for the LayoutBuilderEntityViewDisplay entity type. * * @internal + * Layout Builder is currently experimental and should only be leveraged by + * experimental modules and development releases of contributed modules. + * See https://www.drupal.org/core/experimental for more information. */ class LayoutBuilderEntityViewDisplayForm extends EntityViewDisplayEditForm { diff --git a/core/modules/layout_builder/src/Routing/LayoutBuilderRoutesTrait.php b/core/modules/layout_builder/src/Routing/LayoutBuilderRoutesTrait.php index a3ade65af9..920cbcf93e 100644 --- a/core/modules/layout_builder/src/Routing/LayoutBuilderRoutesTrait.php +++ b/core/modules/layout_builder/src/Routing/LayoutBuilderRoutesTrait.php @@ -8,6 +8,11 @@ /** * Provides a trait for building routes for a Layout Builder UI. + * + * @internal + * Layout Builder is currently experimental and should only be leveraged by + * experimental modules and development releases of contributed modules. + * See https://www.drupal.org/core/experimental for more information. */ trait LayoutBuilderRoutesTrait { diff --git a/core/modules/layout_builder/src/Routing/SectionStorageDefaultsParamConverter.php b/core/modules/layout_builder/src/Routing/SectionStorageDefaultsParamConverter.php index 3937389172..c6435786bd 100644 --- a/core/modules/layout_builder/src/Routing/SectionStorageDefaultsParamConverter.php +++ b/core/modules/layout_builder/src/Routing/SectionStorageDefaultsParamConverter.php @@ -6,6 +6,11 @@ /** * Provides a param converter for defaults-based section storage. + * + * @internal + * Layout Builder is currently experimental and should only be leveraged by + * experimental modules and development releases of contributed modules. + * See https://www.drupal.org/core/experimental for more information. */ class SectionStorageDefaultsParamConverter extends EntityConverter implements SectionStorageParamConverterInterface { diff --git a/core/modules/layout_builder/src/SectionStorageInterface.php b/core/modules/layout_builder/src/SectionStorageInterface.php index 9a82be9256..cc1efaba2a 100644 --- a/core/modules/layout_builder/src/SectionStorageInterface.php +++ b/core/modules/layout_builder/src/SectionStorageInterface.php @@ -61,7 +61,8 @@ public function insertSection($delta, Section $section); /** * Removes the section at the given delta. * - * This will re-key every subsequent section. + * As sections are stored sequentially and numerically this will re-key every + * subsequent section, shifting them forward. * * @param int $delta * The delta of the section.