function ExtraFieldBlockDeriver::__construct
Same name and namespace in other branches
- 11.x core/modules/layout_builder/src/Plugin/Derivative/ExtraFieldBlockDeriver.php \Drupal\layout_builder\Plugin\Derivative\ExtraFieldBlockDeriver::__construct()
- 10 core/modules/layout_builder/src/Plugin/Derivative/ExtraFieldBlockDeriver.php \Drupal\layout_builder\Plugin\Derivative\ExtraFieldBlockDeriver::__construct()
- 9 core/modules/layout_builder/src/Plugin/Derivative/ExtraFieldBlockDeriver.php \Drupal\layout_builder\Plugin\Derivative\ExtraFieldBlockDeriver::__construct()
- 8.9.x core/modules/layout_builder/src/Plugin/Derivative/ExtraFieldBlockDeriver.php \Drupal\layout_builder\Plugin\Derivative\ExtraFieldBlockDeriver::__construct()
Constructs new FieldBlockDeriver.
Parameters
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: The entity field manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityTypeBundleInfo: The entity type bundle info.
\Drupal\Core\Entity\EntityTypeRepositoryInterface $entityTypeRepository: The entity type repository.
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.
File
-
core/
modules/ layout_builder/ src/ Plugin/ Derivative/ ExtraFieldBlockDeriver.php, line 42
Class
- ExtraFieldBlockDeriver
- Provides entity field block definitions for every field.
Namespace
Drupal\layout_builder\Plugin\DerivativeCode
public function __construct(protected EntityFieldManagerInterface $entityFieldManager, protected EntityTypeManagerInterface $entityTypeManager, protected EntityTypeBundleInfoInterface $entityTypeBundleInfo, protected EntityTypeRepositoryInterface $entityTypeRepository, protected ModuleHandlerInterface $moduleHandler) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.