UrlResolver::$urlCache

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

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.