You are here

public property Layout::$regions in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::regions
  2. 9 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::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/Annotation/Layout.php, line 149

Class

Layout
Defines a Layout annotation object.

Namespace

Drupal\Core\Layout\Annotation

Code

public $regions = [];