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 10.3.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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.css file core/themes/admin/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/themes/default_admin/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-block: 0 5rem;

> .help,
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/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.pcss.css file core/themes/olivero/css/layout/layout.pcss.css Base Layout.
layout.pcss.css file core/themes/default_admin/css/layout/layout.pcss.css /**
* Add spacing to top and bottom of pages.
*/

@import "../base/media-queries.pcss.css";

.page-content {
margin-block: 0 80px;

> .help,
> .region-content,
> .region-highlighted {
@media (--admin-small) {
layout.pcss.css file core/themes/admin/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/Annotation/Layout.php Gets the value of an annotation.
Layout::get function core/lib/Drupal/Core/Layout/Attribute/Layout.php Gets the value of an attribute.
Layout::__construct function core/lib/Drupal/Core/Layout/Attribute/Layout.php Constructs a Layout attribute.
LayoutAttributeTest class core/tests/Drupal/Tests/Core/Layout/LayoutAttributeTest.php Tests the Layout attribute.
LayoutAttributeTest.php file core/tests/Drupal/Tests/Core/Layout/LayoutAttributeTest.php
LayoutAttributeTest::testDeprecatedMissingProperties function core/tests/Drupal/Tests/Core/Layout/LayoutAttributeTest.php Test deprecating plugins without a label or category.
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::addRenderedLayoutBuilder function core/modules/layout_builder/src/Element/LayoutBuilder.php Render API #post_render callback that adds layout builder markup to form.
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::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::layoutBuilderElementGetKeys function core/modules/layout_builder/src/Element/LayoutBuilder.php Form element #process callback.
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::renderLayoutBuilderAfterForm function core/modules/layout_builder/src/Element/LayoutBuilder.php Render API #pre_render callback for form containing layout builder element.
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.

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