protected property Display::$blocksInRegions

A two-level array expressing block ordering within regions.

The outer array is associative, keyed on region name. Each inner array is indexed, with the config address of a block as values and sorted according to order in which those blocks should appear in that region.

This property is not stored statically in config, but is derived at runtime by DisplayBase::sortBlocks(). It is not stored statically because that would make using weights for ordering more difficult, and weights make external mass manipulation of displays much easier.

Type: array

File

drupal/core/modules/layout/lib/Drupal/layout/Plugin/Core/Entity/Display.php, line 48
Definition of Drupal\layout\Plugin\Core\Entity\Display.

Class

Display
Defines the display entity.

Namespace

Drupal\layout\Plugin\Core\Entity

Code

protected $blocksInRegions;