public static function FieldLayoutBuilder::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field_layout/src/FieldLayoutBuilder.php \Drupal\field_layout\FieldLayoutBuilder::create()
- 9 core/modules/field_layout/src/FieldLayoutBuilder.php \Drupal\field_layout\FieldLayoutBuilder::create()
File
- core/
modules/ field_layout/ src/ FieldLayoutBuilder.php, line 47
Class
- FieldLayoutBuilder
- Builds a field layout.
Namespace
Drupal\field_layoutCode
public static function create(ContainerInterface $container) {
return new static($container
->get('plugin.manager.core.layout'), $container
->get('entity_field.manager'));
}