Skip to content
Snippets Groups Projects
Commit fab8d1e7 authored by Jess's avatar Jess
Browse files

Issue #3041053 by tim.plunkett, tedbow, xjm, larowlan, phenaproxima, webchick,...

Issue #3041053 by tim.plunkett, tedbow, xjm, larowlan, phenaproxima, webchick, effulgentsia, DyanneNova, Sam152, lauriii, dead_arm, bnjmmn, balsama: Mark Layout Builder as a stable module
parent 51cc6680
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Showing
with 27 additions and 33 deletions
......@@ -257,6 +257,11 @@ Language
- Francesco Placella 'plach' https://www.drupal.org/u/plach
- Daniel F. Kudwien 'sun' https://www.drupal.org/u/sun
Layout Builder
- Ted Bowman 'tedbow' https://www.drupal.org/u/tedbow
- Emilie Nouveau 'DyanneNova' https://www.drupal.org/u/dyannenova
- Tim Plunkett 'tim.plunkett' https://www.drupal.org/u/tim.plunkett
Link Field
- Weber Macedo 'Mac_Weber' https://www.drupal.org/u/mac_weber
......
/* @todo Move this to Seven as part of https://www.drupal.org/node/3041053 */
.layout-builder-translation-warning {
background: left 2px url(../../../misc/icons/e29700/warning.svg) no-repeat;
padding-left: 20px;
}
......@@ -88,10 +88,10 @@
background-repeat: no-repeat;
}
.layout-builder__message--defaults .messages {
background-image: url('../images/globe.svg');
background-image: url("../images/globe.svg");
}
.layout-builder__message--overrides .messages {
background-image: url('../images/location.svg');
background-image: url("../images/location.svg");
}
/**
......@@ -193,11 +193,11 @@
display: none;
}
.layout-builder--move-blocks-active .layout-builder__region-label {
.layout-builder--move-blocks-active .layout-builder__region-label {
display: block;
}
.layout-builder--move-blocks-active .layout-builder__section-label {
.layout-builder--move-blocks-active .layout-builder__section-label {
display: inline;
}
......
name: 'Layout Builder'
type: module
description: 'Allows users to add and arrange blocks and content fields directly on the content.'
package: Core (Experimental)
package: Core
version: VERSION
core: 8.x
dependencies:
......
......@@ -27,9 +27,3 @@ fourcol_section:
css:
theme:
layouts/fourcol_section/fourcol_section.css: {}
drupal.layout_builder_content_translation_admin:
version: VERSION
css:
theme:
css/layout-builder-content-translation.css: {}
......@@ -400,11 +400,6 @@ function layout_builder_preprocess_language_content_settings_table(&$variables)
'#attributes' => [
'class' => ['layout-builder-translation-warning'],
],
'#attached' => [
'library' => [
'layout_builder/drupal.layout_builder_content_translation_admin',
],
],
],
];
}
......
......@@ -15,6 +15,7 @@
* @ingroup layout_builder_access
*
* @internal
* Tagged services are internal.
*/
class LayoutBuilderAccessCheck implements AccessInterface {
......
......@@ -10,6 +10,7 @@
* Accessible class to allow access for inline blocks in the Layout Builder.
*
* @internal
* Tagged services are internal.
*/
class LayoutPreviewAccessAllowed implements AccessibleInterface {
......
......@@ -12,6 +12,7 @@
* Provides an access check for the Layout Builder UI.
*
* @internal
* Tagged services are internal.
*
* @todo Deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use
* \Drupal\layout_builder\Access\LayoutBuilderAccessCheck instead. See
......
......@@ -13,6 +13,9 @@
* Cache context ID: 'layout_builder_is_active:%entity_type_id', e.g.
* 'layout_builder_is_active:node' (to vary by whether the Node entity type has
* Layout Builder enabled).
*
* @internal
* Tagged services are internal.
*/
class LayoutBuilderIsActiveCacheContext implements CalculatedCacheContextInterface {
......
......@@ -8,6 +8,9 @@
* Determines if an entity is being viewed in the Layout Builder UI.
*
* Cache context ID: 'route.name.is_layout_builder_ui'.
*
* @internal
* Tagged services are internal.
*/
class LayoutBuilderUiCacheContext extends RouteNameCacheContext {
......
......@@ -14,6 +14,7 @@
* Defines a controller to add a new section.
*
* @internal
* Controller classes are internal.
*/
class AddSectionController implements ContainerInjectionInterface {
......
......@@ -18,6 +18,7 @@
* Defines a controller to choose a new block.
*
* @internal
* Controller classes are internal.
*/
class ChooseBlockController implements ContainerInjectionInterface {
......
......@@ -16,6 +16,7 @@
* Defines a controller to choose a new section.
*
* @internal
* Controller classes are internal.
*/
class ChooseSectionController implements ContainerInjectionInterface {
......
......@@ -9,6 +9,7 @@
* Defines a controller to provide the Layout Builder admin UI.
*
* @internal
* Controller classes are internal.
*/
class LayoutBuilderController {
......
......@@ -9,8 +9,6 @@
/**
* Provides AJAX responses to rebuild the Layout Builder.
*
* @internal
*/
trait LayoutRebuildTrait {
......
......@@ -11,6 +11,7 @@
* Defines a controller to move a block.
*
* @internal
* Controller classes are internal.
*/
class MoveBlockController implements ContainerInjectionInterface {
......
......@@ -7,11 +7,6 @@
/**
* Defines an interface for an object that stores layout sections for defaults.
*
* @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.
*
* @todo Refactor this interface in https://www.drupal.org/node/2985362.
*/
interface DefaultsSectionStorageInterface extends SectionStorageInterface, ThirdPartySettingsInterface, LayoutBuilderEnabledInterface {
......
......@@ -20,6 +20,9 @@
* Defines a render element for building the Layout Builder UI.
*
* @RenderElement("layout_builder")
*
* @internal
* Plugin classes are internal.
*/
class LayoutBuilder extends RenderElement implements ContainerFactoryPluginInterface {
......
......@@ -25,11 +25,6 @@
/**
* 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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment