function EntityDisplayWithLayoutInterface::setLayout
Same name in other branches
- 9 core/modules/field_layout/src/Display/EntityDisplayWithLayoutInterface.php \Drupal\field_layout\Display\EntityDisplayWithLayoutInterface::setLayout()
- 8.9.x core/modules/field_layout/src/Display/EntityDisplayWithLayoutInterface.php \Drupal\field_layout\Display\EntityDisplayWithLayoutInterface::setLayout()
- 10 core/modules/field_layout/src/Display/EntityDisplayWithLayoutInterface.php \Drupal\field_layout\Display\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.