You are here

public function EntityDisplayWithLayoutInterface::getLayout in Drupal 8

Same name and namespace in other branches
  1. 9 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\Display

Code

public function getLayout();