function FieldLayoutEntityDisplayTrait::getLayout
Same name in other branches
- 9 core/modules/field_layout/src/Entity/FieldLayoutEntityDisplayTrait.php \Drupal\field_layout\Entity\FieldLayoutEntityDisplayTrait::getLayout()
- 8.9.x core/modules/field_layout/src/Entity/FieldLayoutEntityDisplayTrait.php \Drupal\field_layout\Entity\FieldLayoutEntityDisplayTrait::getLayout()
- 11.x core/modules/field_layout/src/Entity/FieldLayoutEntityDisplayTrait.php \Drupal\field_layout\Entity\FieldLayoutEntityDisplayTrait::getLayout()
Implements \Drupal\field_layout\Display\EntityDisplayWithLayoutInterface::getLayout().
2 calls to FieldLayoutEntityDisplayTrait::getLayout()
- FieldLayoutEntityDisplayTrait::calculateDependencies in core/
modules/ field_layout/ src/ Entity/ FieldLayoutEntityDisplayTrait.php - Overrides \Drupal\Core\Entity\EntityDisplayBase::calculateDependencies().
- FieldLayoutEntityDisplayTrait::preSave in core/
modules/ field_layout/ src/ Entity/ FieldLayoutEntityDisplayTrait.php - Overrides \Drupal\Core\Entity\EntityDisplayBase::preSave().
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());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.