You are here

protected function EntityBuffer::getBufferId in GraphQL 8.3

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

Parameters

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

Return value

string The buffer id.

Overrides BufferBase::getBufferId

File

src/GraphQL/Buffers/EntityBuffer.php, line 49

Class

EntityBuffer

Namespace

Drupal\graphql\GraphQL\Buffers

Code

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