public function DisplayInterface::mapBlocksToLayout in Layout 8.2
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 lib/
Drupal/ layout/ Config/ DisplayBase.php - Implements DisplayInterface::mapBlocksToLayout().
File
- 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\ConfigCode
public function mapBlocksToLayout(LayoutInterface $layout);