You are here

public function OembedProvidersCacheTagInvalidator::__construct in oEmbed Providers 1.1.x

Same name and namespace in other branches
  1. 2.x src/Cache/OembedProvidersCacheTagInvalidator.php \Drupal\oembed_providers\Cache\OembedProvidersCacheTagInvalidator::__construct()
  2. 1.0.x src/Cache/OembedProvidersCacheTagInvalidator.php \Drupal\oembed_providers\Cache\OembedProvidersCacheTagInvalidator::__construct()

OembedProvidersCacheTagInvalidator constructor.

Parameters

\Drupal\media\MediaSourceManager $mediaSourceManager: Manages media source plugins.

File

src/Cache/OembedProvidersCacheTagInvalidator.php, line 26

Class

OembedProvidersCacheTagInvalidator
Intercepts requests for cache tag invalidation.

Namespace

Drupal\oembed_providers\Cache

Code

public function __construct(MediaSourceManager $mediaSourceManager) {
  $this->mediaSourceManager = $mediaSourceManager;
}