Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
layout-test-2col.html.twig file core/modules/system/tests/modules/layout_test/templates/layout-test-2col.html.twig Template for an example 2 column layout.
layout-test-plugin.html.twig file core/modules/system/tests/modules/layout_test/templates/layout-test-plugin.html.twig Template for layout_test_plugin layout.
layout-views-grid.css file core/themes/olivero/css/layout/layout-views-grid.css Responsive styles for views grid horizontal layout.
layout-views-grid.pcss.css file core/themes/olivero/css/layout/layout-views-grid.pcss.css Responsive styles for views grid horizontal layout.
layout.css file core/themes/olivero/css/layout/layout.css Base Layout.
layout.css file core/profiles/demo_umami/themes/umami/css/layout/layout.css This file is used to create generic layout styles.
layout.css file core/themes/claro/css/layout/layout.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/

/**
* Add spacing to top and bottom of pages.
*/

.page-content {
margin-top: 1.5rem;
margin-bottom:…
layout.css file core/modules/ckeditor5/tests/modules/ckeditor5_test/css/layout.css .layout--two-col {
display: grid;
grid-template-columns: 1fr 1fr;
}

.simple-box {
padding: 0.5rem;
background: #ccc;
}

.simple-box-title,
.simple-box-description {
background: #fff;
}
layout.html.twig file core/modules/layout_discovery/templates/layout.html.twig Template for a generic layout.
layout.html.twig file core/themes/stable9/templates/layout/layout.html.twig Template for a generic layout.
layout.icon_builder service core/modules/layout_discovery/layout_discovery.services.yml Drupal\Core\Layout\Icon\SvgIconBuilder
layout.pcss.css file core/themes/olivero/css/layout/layout.pcss.css Base Layout.
layout.pcss.css file core/themes/claro/css/layout/layout.pcss.css /**
* Add spacing to top and bottom of pages.
*/

.page-content {
margin-top: 1.5rem;
margin-bottom: 80px;
}

@media screen and (min-width: 38em) {
.page-content {
margin-top: 2rem;
}
}

/**
* Add color to layout icons.
…
Layout.php file core/lib/Drupal/Core/Layout/Attribute/Layout.php
Layout.php file core/lib/Drupal/Core/Layout/Annotation/Layout.php
Layout::$additional property core/lib/Drupal/Core/Layout/Attribute/Layout.php Any additional properties and values.
Layout::$category property core/lib/Drupal/Core/Layout/Annotation/Layout.php The human-readable category.
Layout::$class property core/lib/Drupal/Core/Layout/Annotation/Layout.php The layout plugin class.
Layout::$default_region property core/lib/Drupal/Core/Layout/Annotation/Layout.php The default region.
Layout::$description property core/lib/Drupal/Core/Layout/Annotation/Layout.php A description for advanced layouts.
Layout::$icon property core/lib/Drupal/Core/Layout/Annotation/Layout.php The path to the preview image (relative to the 'path' given).
Layout::$icon_map property core/lib/Drupal/Core/Layout/Annotation/Layout.php The icon map.
Layout::$id property core/lib/Drupal/Core/Layout/Annotation/Layout.php The plugin ID.
Layout::$label property core/lib/Drupal/Core/Layout/Annotation/Layout.php The human-readable name.
Layout::$library property core/lib/Drupal/Core/Layout/Annotation/Layout.php The asset library.
Layout::$path property core/lib/Drupal/Core/Layout/Annotation/Layout.php Path (relative to the module or theme) to resources like icon or template.
Layout::$regions property core/lib/Drupal/Core/Layout/Annotation/Layout.php An associative array of regions in this layout.
Layout::$template property core/lib/Drupal/Core/Layout/Annotation/Layout.php The template file to render this layout (relative to the 'path' given).
Layout::$theme_hook property core/lib/Drupal/Core/Layout/Annotation/Layout.php The theme hook used to render this layout.
Layout::get function core/lib/Drupal/Core/Layout/Attribute/Layout.php Gets the value of an attribute.
Layout::get function core/lib/Drupal/Core/Layout/Annotation/Layout.php Gets the value of an annotation.
Layout::__construct function core/lib/Drupal/Core/Layout/Attribute/Layout.php Constructs a Layout attribute.
LayoutBuilder class core/modules/layout_builder/src/Element/LayoutBuilder.php Defines a render element for building the Layout Builder UI.
LayoutBuilder.php file core/modules/layout_builder/src/Element/LayoutBuilder.php
LayoutBuilder::$eventDispatcher property core/modules/layout_builder/src/Element/LayoutBuilder.php The event dispatcher.
LayoutBuilder::buildAddSectionLink function core/modules/layout_builder/src/Element/LayoutBuilder.php Builds a link to add a new section at a given delta.
LayoutBuilder::buildAdministrativeSection function core/modules/layout_builder/src/Element/LayoutBuilder.php Builds the render array for the layout section while editing.
LayoutBuilder::create function core/modules/layout_builder/src/Element/LayoutBuilder.php Creates an instance of the plugin.
LayoutBuilder::getInfo function core/modules/layout_builder/src/Element/LayoutBuilder.php Returns the element properties for this element.
LayoutBuilder::layout function core/modules/layout_builder/src/Element/LayoutBuilder.php Renders the Layout UI.
LayoutBuilder::prepareLayout function core/modules/layout_builder/src/Element/LayoutBuilder.php Prepares a layout for use in the UI.
LayoutBuilder::preRender function core/modules/layout_builder/src/Element/LayoutBuilder.php Pre-render callback: Renders the Layout Builder UI.
LayoutBuilder::__construct function core/modules/layout_builder/src/Element/LayoutBuilder.php Constructs a new LayoutBuilder.
LayoutBuilderAccessCheck class core/modules/layout_builder/src/Access/LayoutBuilderAccessCheck.php Provides an access check for the Layout Builder defaults.
LayoutBuilderAccessCheck.php file core/modules/layout_builder/src/Access/LayoutBuilderAccessCheck.php
LayoutBuilderAccessCheck::access function core/modules/layout_builder/src/Access/LayoutBuilderAccessCheck.php Checks routing access to the layout.
LayoutBuilderAccessTest class core/modules/layout_builder/tests/src/Functional/LayoutBuilderAccessTest.php Tests access to Layout Builder.
LayoutBuilderAccessTest.php file core/modules/layout_builder/tests/src/Functional/LayoutBuilderAccessTest.php
LayoutBuilderAccessTest::$defaultTheme property core/modules/layout_builder/tests/src/Functional/LayoutBuilderAccessTest.php The theme to install as the default for testing.
LayoutBuilderAccessTest::$modules property core/modules/layout_builder/tests/src/Functional/LayoutBuilderAccessTest.php Modules to install.

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