public static function DefaultProfileLoad::create in Open Social 10.0.x
Same name and namespace in other branches
- 10.1.x modules/social_features/social_profile/src/Plugin/GraphQL/DataProducer/DefaultProfileLoad.php \Drupal\social_profile\Plugin\GraphQL\DataProducer\DefaultProfileLoad::create()
@codeCoverageIgnore
Overrides ContainerFactoryPluginInterface::create
File
- modules/
social_features/ social_profile/ src/ Plugin/ GraphQL/ DataProducer/ DefaultProfileLoad.php, line 54
Class
- DefaultProfileLoad
- Loads the default profile for a user.
Namespace
Drupal\social_profile\Plugin\GraphQL\DataProducerCode
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'), $container
->get('graphql.buffer.entity'));
}