You are here

public function BoundDisplayInterface::setLayout in Layout 8.2

Sets the layout to be used by this display.

Parameters

string $layout_id: The id of the desired layout.

1 method overrides BoundDisplayInterface::setLayout()
Display::setLayout in lib/Drupal/layout/Entity/Display.php
Set the contained layout plugin.

File

lib/Drupal/layout/Config/BoundDisplayInterface.php, line 28
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 setLayout($layout_id);