public function EntityDisplayWithLayoutInterface::getLayout in Drupal 9
Same name and namespace in other branches
- 8 core/modules/field_layout/src/Display/EntityDisplayWithLayoutInterface.php \Drupal\field_layout\Display\EntityDisplayWithLayoutInterface::getLayout()
Gets the layout plugin for this display.
Return value
\Drupal\Core\Layout\LayoutInterface The layout plugin.
File
- core/
modules/ field_layout/ src/ Display/ EntityDisplayWithLayoutInterface.php, line 65
Class
- EntityDisplayWithLayoutInterface
- Provides a common interface for entity displays that have layout.
Namespace
Drupal\field_layout\DisplayCode
public function getLayout();