You are here

protected function EntityRevisionBuffer::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/EntityRevisionBuffer.php, line 52

Class

EntityRevisionBuffer
Entity revision buffer.

Namespace

Drupal\graphql\GraphQL\Buffers

Code

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