public static function ImageUrl::create in GraphQL 8.4
@codeCoverageIgnore
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ GraphQL/ DataProducer/ Entity/ Fields/ Image/ ImageUrl.php, line 44
Class
- ImageUrl
- Returns the file URL of a file entity.
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'));
}