You are here

protected function EntityUuidBuffer::getBufferId in GraphQL 8.4

Returns the bucket name for grouping items together.

Parameters

object $item: The item to get the buffer id for.

Return value

string The buffer id.

Overrides BufferBase::getBufferId

File

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

Class

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

Namespace

Drupal\graphql\GraphQL\Buffers

Code

protected function getBufferId($item) {
  return $item['type'];
}