You are here

public function RegisterOEmbedProviderClassesCompilerPass::__construct in oEmbed 8

Constructor.

Parameters

string $providerResolverService Service name of the provider resolver in processed container:

string $providerTag Tag name used for provider:

File

src/RegisterOEmbedProviderClassesCompilerPass.php, line 27

Class

RegisterOEmbedProviderClassesCompilerPass

Namespace

Drupal\oembed

Code

public function __construct($providerResolverService = 'oembed.provider_resolver', $providerTag = 'oembed.provider') {
  $this->providerResolverService = $providerResolverService;
  $this->providerTag = $providerTag;
}