ProviderRepository::$maxAge

Same name in other branches
  1. 9 core/modules/media/src/OEmbed/ProviderRepository.php \Drupal\media\OEmbed\ProviderRepository::maxAge
  2. 8.9.x core/modules/media/src/OEmbed/ProviderRepository.php \Drupal\media\OEmbed\ProviderRepository::maxAge
  3. 11.x core/modules/media/src/OEmbed/ProviderRepository.php \Drupal\media\OEmbed\ProviderRepository::maxAge

How long the provider data should be cached, in seconds.

Type: int

File

core/modules/media/src/OEmbed/ProviderRepository.php, line 23

Class

ProviderRepository
Retrieves and caches information about oEmbed providers.

Namespace

Drupal\media\OEmbed

Code

protected $maxAge;

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