public function FieldLayoutBuilder::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/field_layout/src/FieldLayoutBuilder.php \Drupal\field_layout\FieldLayoutBuilder::__construct()
- 10 core/modules/field_layout/src/FieldLayoutBuilder.php \Drupal\field_layout\FieldLayoutBuilder::__construct()
Constructs a new FieldLayoutBuilder.
Parameters
\Drupal\Core\Layout\LayoutPluginManagerInterface $layout_plugin_manager: The layout plugin manager.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
File
- core/
modules/ field_layout/ src/ FieldLayoutBuilder.php, line 39
Class
- FieldLayoutBuilder
- Builds a field layout.
Namespace
Drupal\field_layoutCode
public function __construct(LayoutPluginManagerInterface $layout_plugin_manager, EntityFieldManagerInterface $entity_field_manager) {
$this->layoutPluginManager = $layout_plugin_manager;
$this->entityFieldManager = $entity_field_manager;
}