public function LayoutBundle::build

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

Overrides Bundle::build

File

drupal/core/modules/layout/lib/Drupal/layout/LayoutBundle.php, line 21
Definition of Drupal\layout\LayoutBundle.

Class

LayoutBundle
Layout dependency injection container.

Namespace

Drupal\Layout

Code

public function build(ContainerBuilder $container) {

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