You are here

public function EntityUuidBuffer::__construct in GraphQL 8.4

EntityBuffer constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.

File

src/GraphQL/Buffers/EntityUuidBuffer.php, line 27

Class

EntityUuidBuffer
Collects entity UUIDs per entity type and loads them all at once in the end.

Namespace

Drupal\graphql\GraphQL\Buffers

Code

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