You are here

class OembedServiceProvider in oEmbed 8

Hierarchy

Expanded class hierarchy of OembedServiceProvider

File

src/OembedServiceProvider.php, line 8

Namespace

Drupal\oembed
View 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

Namesort descending Modifiers Type Description Overrides
OembedServiceProvider::register public function Registers services to the container. Overrides ServiceProviderInterface::register