public function BoundDisplayInterface::setLayout

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 drupal/core/modules/layout/lib/Drupal/layout/Plugin/Core/Entity/Display.php
Set the contained layout plugin.

File

drupal/core/modules/layout/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);