You are here

public function ConfigEntityTypeResolver::__construct in GraphQL 8

Same name and namespace in other branches
  1. 8.2 src/TypeResolver/ConfigEntityTypeResolver.php \Drupal\graphql\TypeResolver\ConfigEntityTypeResolver::__construct()

Constructs a ConfigEntityTypeResolver object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entityManager: The entity manager service.

File

src/TypeResolver/ConfigEntityTypeResolver.php, line 27

Class

ConfigEntityTypeResolver
Resolves the schema for config entities.

Namespace

Drupal\graphql\TypeResolver

Code

public function __construct(EntityManagerInterface $entityManager) {
  $this->entityManager = $entityManager;
}