Created
August 25, 2012 14:42
-
-
Save EclipseGc/3466605 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Definition of Drupal\block\BlockBundle. | |
*/ | |
namespace Drupal\Block; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
use Symfony\Component\HttpKernel\Bundle\Bundle; | |
/** | |
* Block dependency injection container. | |
*/ | |
class BlockBundle extends Bundle { | |
/** | |
* Overrides Symfony\Component\HttpKernel\Bundle\Bundle. | |
*/ | |
public function build(ContainerBuilder $container) { | |
// register the BlockManager class with the dependency injection container. | |
$container->register('plugin.manager.block', 'Drupal\block\Plugins\Type\BlockManager'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment