public function EntityDataProducerPluginBase::__construct in Open Social 10.1.x
Same name and namespace in other branches
- 10.0.x modules/custom/social_graphql/src/Plugin/GraphQL/DataProducer/Entity/EntityDataProducerPluginBase.php \Drupal\social_graphql\Plugin\GraphQL\DataProducer\Entity\EntityDataProducerPluginBase::__construct()
EntityLoad constructor.
@codeCoverageIgnore
Parameters
array $configuration: The plugin configuration array.
string $pluginId: The plugin id.
array $pluginDefinition: The plugin definition array.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.
\Drupal\graphql\GraphQL\Buffers\EntityBuffer $graphqlEntityBuffer: The GraphQL entity buffer.
\Drupal\graphql\GraphQL\Buffers\EntityUuidBuffer $graphqlEntityUuidBuffer: The GraphQL entity uuid buffer.
\Drupal\graphql\GraphQL\Buffers\EntityRevisionBuffer $graphqlEntityRevisionBuffer: The GraphQL entity revision buffer.
File
- modules/
custom/ social_graphql/ src/ Plugin/ GraphQL/ DataProducer/ Entity/ EntityDataProducerPluginBase.php, line 85
Class
- EntityDataProducerPluginBase
- Bass class for Open Social entity data producers dealing with connections.
Namespace
Drupal\social_graphql\Plugin\GraphQL\DataProducer\EntityCode
public function __construct(array $configuration, $pluginId, array $pluginDefinition, EntityTypeManagerInterface $entityTypeManager, EntityBuffer $graphqlEntityBuffer, EntityUuidBuffer $graphqlEntityUuidBuffer, EntityRevisionBuffer $graphqlEntityRevisionBuffer) {
parent::__construct($configuration, $pluginId, $pluginDefinition);
$this->entityTypeManager = $entityTypeManager;
$this->graphqlEntityBuffer = $graphqlEntityBuffer;
$this->graphqlEntityUuidBuffer = $graphqlEntityUuidBuffer;
$this->graphqlEntityRevisionBuffer = $graphqlEntityRevisionBuffer;
}