public function DisplayInterface::mapBlocksToLayout

Maps the contained block info to the provided layout.

Parameters

\Drupal\layout\Plugin\LayoutInterface $layout:

Return value

array An array containing block configuration info, identical to that which is returned by DisplayInterface::getAllBlockInfo().

1 method overrides DisplayInterface::mapBlocksToLayout()
DisplayBase::mapBlocksToLayout in drupal/core/modules/layout/lib/Drupal/layout/Config/DisplayBase.php
Implements DisplayInterface::mapBlocksToLayout().

File

drupal/core/modules/layout/lib/Drupal/layout/Config/DisplayInterface.php, line 76
Definition of Drupal\layout\Config\DisplayInterface

Class

DisplayInterface
Interface describing a Display configuration object.

Namespace

Drupal\layout\Config

Code

public function mapBlocksToLayout(LayoutInterface $layout);