You are here

public function OembedServiceProvider::register in oEmbed 8

Registers services to the container.

Parameters

ContainerBuilder $container: The ContainerBuilder to register services to.

Overrides ServiceProviderInterface::register

File

src/OembedServiceProvider.php, line 16

Class

OembedServiceProvider

Namespace

Drupal\oembed

Code

public function register(ContainerBuilder $container) {
  $container
    ->addCompilerPass(new RegisterOEmbedProviderClassesCompilerPass());
}