You are here

public function Display::getAllSortedBlocks in Layout 8.2

Implements BoundDisplayInterface::getAllSortedBlocks().

Overrides BoundDisplayInterface::getAllSortedBlocks

File

lib/Drupal/layout/Entity/Display.php, line 93
Definition of Drupal\layout\Entity\Display.

Class

Display
Defines the display entity.

Namespace

Drupal\layout\Entity

Code

public function getAllSortedBlocks() {
  if ($this->blocksInRegions === NULL) {
    $this
      ->sortBlocks();
  }
  return $this->blocksInRegions;
}