You are here

protected function BufferBase::getBufferId in GraphQL 8.3

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

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.
2 methods override BufferBase::getBufferId()
EntityBuffer::getBufferId in src/GraphQL/Buffers/EntityBuffer.php
SubRequestBuffer::getBufferId in src/GraphQL/Buffers/SubRequestBuffer.php

File

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

Class

BufferBase
Base class for field buffering services.

Namespace

Drupal\graphql\GraphQL\Buffers

Code

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