public function EntityDataProducerPluginBase::__construct in Open Social 10.0.x
Same name and namespace in other branches
- 10.1.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.
File
- modules/
custom/ social_graphql/ src/ Plugin/ GraphQL/ DataProducer/ Entity/ EntityDataProducerPluginBase.php, line 52
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) {
parent::__construct($configuration, $pluginId, $pluginDefinition);
$this->entityTypeManager = $entityTypeManager;
}