public function EntityBuffer::__construct in GraphQL 8.4
Same name and namespace in other branches
- 8.3 src/GraphQL/Buffers/EntityBuffer.php \Drupal\graphql\GraphQL\Buffers\EntityBuffer::__construct()
EntityBuffer constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.
File
- src/
GraphQL/ Buffers/ EntityBuffer.php, line 25
Class
- EntityBuffer
- Collects entity IDs per entity type and loads them all at once in the end.
Namespace
Drupal\graphql\GraphQL\BuffersCode
public function __construct(EntityTypeManagerInterface $entityTypeManager) {
$this->entityTypeManager = $entityTypeManager;
}