UrlResolver::$urlCache

Same name in other branches
  1. 9 core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::urlCache
  2. 8.9.x core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::urlCache
  3. 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\OEmbed

Code

protected $urlCache = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.