You are here

public function BoundDisplayInterface::getSortedBlocksByRegion in Layout 8.2

Returns the blocks in the requested region, ordered by weight.

Parameters

string $region: The region from which to return the set of blocks.

Return value

array The list of blocks, ordered by their weight within this display. Each value in the list is the configuration object name of the block.

1 method overrides BoundDisplayInterface::getSortedBlocksByRegion()
Display::getSortedBlocksByRegion in lib/Drupal/layout/Entity/Display.php
Implements BoundDisplayInterface::getSortedBlocksByRegion().

File

lib/Drupal/layout/Config/BoundDisplayInterface.php, line 40
Definition of Drupal\layout\Config\BoundDisplayInterface

Class

BoundDisplayInterface
Interface for a Display object that is coupled to a specific layout.

Namespace

Drupal\layout\Config

Code

public function getSortedBlocksByRegion($region);