You are here

public function FieldLayoutEntityDisplayTrait::getLayoutId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/field_layout/src/Entity/FieldLayoutEntityDisplayTrait.php \Drupal\field_layout\Entity\FieldLayoutEntityDisplayTrait::getLayoutId()
  2. 9 core/modules/field_layout/src/Entity/FieldLayoutEntityDisplayTrait.php \Drupal\field_layout\Entity\FieldLayoutEntityDisplayTrait::getLayoutId()

Implements \Drupal\field_layout\Display\EntityDisplayWithLayoutInterface::getLayoutId().

File

core/modules/field_layout/src/Entity/FieldLayoutEntityDisplayTrait.php, line 33

Class

FieldLayoutEntityDisplayTrait
Provides shared code for entity displays.

Namespace

Drupal\field_layout\Entity

Code

public function getLayoutId() {
  return $this
    ->getThirdPartySetting('field_layout', 'id');
}