function UrlResolver::__construct
Same name and namespace in other branches
- 10 core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::__construct()
- 11.x core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::__construct()
- 9 core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::__construct()
- 8.9.x core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::__construct()
File
-
core/
modules/ media/ src/ OEmbed/ UrlResolver.php, line 30
Class
- UrlResolver
- Converts oEmbed media URLs into endpoint-specific resource URLs.
Namespace
Drupal\media\OEmbedCode
public function __construct(protected ProviderRepositoryInterface $providers, protected ResourceFetcherInterface $resourceFetcher, protected ClientInterface $httpClient, protected ModuleHandlerInterface $moduleHandler, #[Autowire(service: 'cache.default')] protected CacheBackendInterface $cacheBackend) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.