public function ParentCandidate::__construct in Entity Reference Hierarchy 8.2
Same name and namespace in other branches
- 3.x src/Information/ParentCandidate.php \Drupal\entity_hierarchy\Information\ParentCandidate::__construct()
Constructs a new ReorderChildrenAccess object.
Parameters
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: Entity field manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundleInfo: Bundle Info.
File
- src/
Information/ ParentCandidate.php, line 36
Class
- ParentCandidate
- Defines a class for determining if an entity is a parent candidate.
Namespace
Drupal\entity_hierarchy\InformationCode
public function __construct(EntityFieldManagerInterface $entityFieldManager, EntityTypeBundleInfoInterface $bundleInfo) {
$this->entityFieldManager = $entityFieldManager;
$this->bundleInfo = $bundleInfo;
}