class OembedServiceProvider in oEmbed 8
Hierarchy
- class \Drupal\oembed\OembedServiceProvider implements ServiceProviderInterface
Expanded class hierarchy of OembedServiceProvider
File
- src/
OembedServiceProvider.php, line 8
Namespace
Drupal\oembedView source
class OembedServiceProvider implements ServiceProviderInterface {
/**
* Registers services to the container.
*
* @param ContainerBuilder $container
* The ContainerBuilder to register services to.
*/
public function register(ContainerBuilder $container) {
$container
->addCompilerPass(new RegisterOEmbedProviderClassesCompilerPass());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OembedServiceProvider:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |