public function ThunderEntitySubRequest::__construct in Thunder 6.2.x
Breadcrumb constructor.
Parameters
array $configuration: The plugin configuration array.
string $pluginId: The plugin id.
mixed $pluginDefinition: The plugin definition.
\Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel: The HTTP kernel service.
File
- modules/
thunder_gqls/ src/ Plugin/ GraphQL/ DataProducer/ ThunderEntitySubRequest.php, line 69
Class
- ThunderEntitySubRequest
- Get data from a sub request to the URL of an entity.
Namespace
Drupal\thunder_gqls\Plugin\GraphQL\DataProducerCode
public function __construct(array $configuration, string $pluginId, $pluginDefinition, HttpKernelInterface $httpKernel) {
parent::__construct($configuration, $pluginId, $pluginDefinition);
$this->httpKernel = $httpKernel;
}