You are here

protected property UrlResolver::$urlCache in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/media/src/OEmbed/UrlResolver.php \Drupal\media\OEmbed\UrlResolver::urlCache
  2. 9 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 = [];