public function BoundDisplayInterface::getSortedBlocksByRegion

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 drupal/core/modules/layout/lib/Drupal/layout/Plugin/Core/Entity/Display.php
Implements BoundDisplayInterface::getSortedBlocksByRegion().

File

drupal/core/modules/layout/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);