You are here

function LayoutController::__construct in Layout 8.2

Constructs a \Drupal\layout\Controller\LayoutController object.

Parameters

\Drupal\layout\Plugin\Type\LayoutManager $layout_manager: The Layout manager.

File

lib/Drupal/layout/Controller/LayoutController.php, line 35
Contains \Drupal\layout\Controller\LayoutController.

Class

LayoutController
Controller routines for layout routes.

Namespace

Drupal\layout\Controller

Code

function __construct(LayoutManager $layout_manager) {
  $this->layoutManager = $layout_manager;
}