public function FieldLayoutEntityDisplayTrait::getLayout in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field_layout/src/Entity/FieldLayoutEntityDisplayTrait.php \Drupal\field_layout\Entity\FieldLayoutEntityDisplayTrait::getLayout()
- 9 core/modules/field_layout/src/Entity/FieldLayoutEntityDisplayTrait.php \Drupal\field_layout\Entity\FieldLayoutEntityDisplayTrait::getLayout()
Implements \Drupal\field_layout\Display\EntityDisplayWithLayoutInterface::getLayout().
File
- core/
modules/ field_layout/ src/ Entity/ FieldLayoutEntityDisplayTrait.php, line 83
Class
- FieldLayoutEntityDisplayTrait
- Provides shared code for entity displays.
Namespace
Drupal\field_layout\EntityCode
public function getLayout() {
return $this
->doGetLayout($this
->getLayoutId(), $this
->getLayoutSettings());
}