You are here

protected function BufferBase::getBufferId in GraphQL 8.4

Same name and namespace in other branches
  1. 8.3 src/GraphQL/Buffers/BufferBase.php \Drupal\graphql\GraphQL\Buffers\BufferBase::getBufferId()

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.

1 call to BufferBase::getBufferId()
BufferBase::createBufferResolver in src/GraphQL/Buffers/BufferBase.php
Helper function to create a resolver for a singular buffer.
3 methods override BufferBase::getBufferId()
EntityBuffer::getBufferId in src/GraphQL/Buffers/EntityBuffer.php
Returns the bucket name for grouping items together.
EntityRevisionBuffer::getBufferId in src/GraphQL/Buffers/EntityRevisionBuffer.php
Returns the bucket name for grouping items together.
EntityUuidBuffer::getBufferId in src/GraphQL/Buffers/EntityUuidBuffer.php
Returns the bucket name for grouping items together.

File

src/GraphQL/Buffers/BufferBase.php, line 33

Class

BufferBase
Base class for field buffering services.

Namespace

Drupal\graphql\GraphQL\Buffers

Code

protected function getBufferId($item) {
  return "";
}