You are here

public function Display::remapToLayout in Layout 8.2

Implements BoundDisplayInterface::remapToLayout().

Overrides BoundDisplayInterface::remapToLayout

File

lib/Drupal/layout/Entity/Display.php, line 129
Definition of Drupal\layout\Entity\Display.

Class

Display
Defines the display entity.

Namespace

Drupal\layout\Entity

Code

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