You are here

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

EntityTypeDeriverBase

Namespace

Drupal\graphql_core\Plugin\Deriver

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityTypeBundleInfoInterface $entityTypeBundleInfo) {
  $this->entityTypeManager = $entityTypeManager;
  $this->entityTypeBundleInfo = $entityTypeBundleInfo;
}