function FieldLayoutBuilder::create
Same name in other branches
- 9 core/modules/field_layout/src/FieldLayoutBuilder.php \Drupal\field_layout\FieldLayoutBuilder::create()
- 8.9.x core/modules/field_layout/src/FieldLayoutBuilder.php \Drupal\field_layout\FieldLayoutBuilder::create()
- 10 core/modules/field_layout/src/FieldLayoutBuilder.php \Drupal\field_layout\FieldLayoutBuilder::create()
Overrides ContainerInjectionInterface::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'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.