public function Display::getAllSortedBlocks

Implements BoundDisplayInterface::getAllSortedBlocks().

Overrides BoundDisplayInterface::getAllSortedBlocks

File

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

Class

Display
Defines the display entity.

Namespace

Drupal\layout\Plugin\Core\Entity

Code

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