public function Display::remapToLayout

Implements BoundDisplayInterface::remapToLayout().

Overrides BoundDisplayInterface::remapToLayout

File

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

Class

Display
Defines the display entity.

Namespace

Drupal\layout\Plugin\Core\Entity

Code

public function remapToLayout(LayoutInterface $layout) {
  $this->blockInfo = $this
    ->mapBlocksToLayout($layout);
  $this
    ->setLayout($layout
    ->getPluginId());
}