public function ChildOfMicrositeLookup::__construct in Entity Reference Hierarchy 8.2
Same name and namespace in other branches
- 3.x modules/entity_hierarchy_microsite/src/ChildOfMicrositeLookup.php \Drupal\entity_hierarchy_microsite\ChildOfMicrositeLookup::__construct()
Constructs a new ChildOfMicrositeLookup.
Parameters
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: Field manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.
\Drupal\entity_hierarchy\Storage\NestedSetStorageFactory $nestedSetStorageFactory: Storage factory.
\Drupal\entity_hierarchy\Storage\NestedSetNodeKeyFactory $nodeKeyFactory: Key factory.
File
- modules/
entity_hierarchy_microsite/ src/ ChildOfMicrositeLookup.php, line 57
Class
- ChildOfMicrositeLookup
- Defines a class for looking up a microsite given a node.
Namespace
Drupal\entity_hierarchy_micrositeCode
public function __construct(EntityFieldManagerInterface $entityFieldManager, EntityTypeManagerInterface $entityTypeManager, NestedSetStorageFactory $nestedSetStorageFactory, NestedSetNodeKeyFactory $nodeKeyFactory) {
$this->entityFieldManager = $entityFieldManager;
$this->entityTypeManager = $entityTypeManager;
$this->nestedSetStorageFactory = $nestedSetStorageFactory;
$this->nodeKeyFactory = $nodeKeyFactory;
}