You are here

public function GridBuilderBundle::build in Grid builder 8

Overrides Symfony\Component\HttpKernel\Bundle\Bundle::build().

File

lib/Drupal/gridbuilder/GridBuilderBundle.php, line 21
Definition of Drupal\gridbuilder\GridBuilderBundle.

Class

GridBuilderBundle
GridBuilder dependency injection container.

Namespace

Drupal\gridbuilder

Code

public function build(ContainerBuilder $container) {

  // Register the GridBuilderManager class with the dependency injection container.
  $container
    ->register('plugin.manager.gridbuilder', 'Drupal\\gridbuilder\\Plugin\\Type\\GridBuilderManager');
}