protected property Display::$blocksInRegions in Layout 8.2
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
- lib/
Drupal/ layout/ Entity/ Display.php, line 50 - Definition of Drupal\layout\Entity\Display.
Class
- Display
- Defines the display entity.
Namespace
Drupal\layout\EntityCode
protected $blocksInRegions;