function EntityDisplayWithLayoutInterface::setLayout
Sets the layout plugin for this display.
Parameters
\Drupal\Core\Layout\LayoutInterface $layout: A layout plugin.
Return value
$this
File
- 
              core/
modules/ field_layout/ src/ Display/ EntityDisplayWithLayoutInterface.php, line 57  
Class
- EntityDisplayWithLayoutInterface
 - Provides a common interface for entity displays that have layout.
 
Namespace
Drupal\field_layout\DisplayCode
public function setLayout(LayoutInterface $layout);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.