public static function EntityDataProducerPluginBase::create 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::create()
@codeCoverageIgnore
Overrides ContainerFactoryPluginInterface::create
File
- modules/
custom/ social_graphql/ src/ Plugin/ GraphQL/ DataProducer/ Entity/ EntityDataProducerPluginBase.php, line 29
Class
- EntityDataProducerPluginBase
- Bass class for Open Social entity data producers dealing with connections.
Namespace
Drupal\social_graphql\Plugin\GraphQL\DataProducer\EntityCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('entity_type.manager'));
}