Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LayoutInterface.php

function LayoutInterface::build

Build a render array for layout with regions.

Parameters

array $regions: An associative array keyed by region name, containing render arrays representing the content that should be placed in each region.

Return value

array Render array for the layout with regions.

1 method overrides LayoutInterface::build()
LayoutDefault::build in core/lib/Drupal/Core/Layout/LayoutDefault.php
Build a render array for layout with regions.

File

core/lib/Drupal/Core/Layout/LayoutInterface.php, line 26

Class

LayoutInterface
Provides an interface for static Layout plugins.

Namespace

Drupal\Core\Layout

Code

public function build(array $regions);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal