public static function EntityLoadByUuid::create in GraphQL 8.4
@codeCoverageIgnore
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ GraphQL/ DataProducer/ Entity/ EntityLoadByUuid.php, line 88
Class
- EntityLoadByUuid
- Loads an entity by UUID.
Namespace
Drupal\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'), $container
->get('entity.repository'), $container
->get('graphql.buffer.entity_uuid'));
}