UrlResolver::$urlCache
Same name in other branches
- 9 core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::urlCache
- 8.9.x core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::urlCache
- 10 core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::urlCache
Static cache of discovered oEmbed resource URLs, keyed by canonical URL.
A discovered resource URL is the actual endpoint URL for a specific media object, fetched from its canonical URL.
Type: string[]
File
-
core/
modules/ media/ src/ OEmbed/ UrlResolver.php, line 55
Class
- UrlResolver
- Converts oEmbed media URLs into endpoint-specific resource URLs.
Namespace
Drupal\media\OEmbedCode
protected $urlCache = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.