You are here

public static function ThunderEntitySubRequest::create in Thunder 6.2.x

@codeCoverageIgnore

Overrides ContainerFactoryPluginInterface::create

File

modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntitySubRequest.php, line 48

Class

ThunderEntitySubRequest
Get data from a sub request to the URL of an entity.

Namespace

Drupal\thunder_gqls\Plugin\GraphQL\DataProducer

Code

public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) {
  return new static($configuration, $pluginId, $pluginDefinition, $container
    ->get('http_kernel'));
}