public static function ImageDerivative::create in GraphQL 8.4
@codeCoverageIgnore
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ GraphQL/ DataProducer/ Entity/ Fields/ Image/ ImageDerivative.php, line 49
Class
- ImageDerivative
- Returns an image style derivative of an image.
Namespace
Drupal\graphql\Plugin\GraphQL\DataProducer\Entity\Fields\ImageCode
public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) {
return new static($configuration, $pluginId, $pluginDefinition, $container
->get('renderer'));
}