protected function EntityBuffer::getBufferId in GraphQL 8.3
Same name and namespace in other branches
- 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
Namespace
Drupal\graphql\GraphQL\BuffersCode
protected function getBufferId($item) {
return $item['type'];
}