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

Breadcrumb

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

LayoutDefinition::$regions

An associative array of regions in this layout.

The key of the array is the machine name of the region, and the value is an associative array with the following keys:

  • label: (string) The human-readable name of the region.

Any remaining keys may have special meaning for the given layout plugin, but are undefined here.

Type: array

File

core/lib/Drupal/Core/Layout/LayoutDefinition.php, line 114

Class

LayoutDefinition
Provides an implementation of a layout definition and its metadata.

Namespace

Drupal\Core\Layout

Code

protected $regions = [];

API Navigation

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