You are here

DevelImageProviderBundle.php in Devel images provider 8

File

lib/Drupal/devel_image_provider/DevelImageProviderBundle.php
View source
<?php

/**
 * @file
 * Contains \Drupal\devel_image_provider\DevelImageProviderBundle.
 */
namespace Drupal\devel_image_provider;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

/**
 * Devel Image Provider dependency injection container.
 */
class DevelImageProviderBundle extends Bundle {

  /**
   * Overrides Symfony\Component\HttpKernel\Bundle\Bundle::build().
   */
  public function build(ContainerBuilder $container) {

    // Register the DevelImageProviderPluginManager class with the dependency injection container.
    $container
      ->register('plugin.manager.devel_image_provider.provider', 'Drupal\\devel_image_provider\\Plugin\\Type\\DevelImageProviderPluginManager')
      ->addArgument('%container.namespaces%');
  }

}

Classes

Namesort descending Description
DevelImageProviderBundle Devel Image Provider dependency injection container.