public function EntityTypeDeriverBase::__construct in GraphQL 8.3
EntityTypeDeriver constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Instance of an entity type manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityTypeBundleInfo: Instance of the entity bundle info service.
File
- modules/
graphql_core/ src/ Plugin/ Deriver/ EntityTypeDeriverBase.php, line 46
Class
Namespace
Drupal\graphql_core\Plugin\DeriverCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityTypeBundleInfoInterface $entityTypeBundleInfo) {
$this->entityTypeManager = $entityTypeManager;
$this->entityTypeBundleInfo = $entityTypeBundleInfo;
}