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
Namespace
Drupal\oembedCode
public function register(ContainerBuilder $container) {
$container
->addCompilerPass(new RegisterOEmbedProviderClassesCompilerPass());
}