public static function ThunderImage::create in Thunder 6.2.x
@codeCoverageIgnore
Overrides ContainerFactoryPluginInterface::create
File
- modules/
thunder_gqls/ src/ Plugin/ GraphQL/ DataProducer/ ThunderImage.php, line 55
Class
- ThunderImage
- Returns image meta data.
Namespace
Drupal\thunder_gqls\Plugin\GraphQL\DataProducerCode
public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) {
return new static($configuration, $pluginId, $pluginDefinition, $container
->get('renderer'), $container
->get('image.factory'));
}