You are here

public function LayoutInfoController::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 src/Controller/LayoutInfoController.php \Drupal\devel\Controller\LayoutInfoController::__construct()
  2. 8.2 src/Controller/LayoutInfoController.php \Drupal\devel\Controller\LayoutInfoController::__construct()
  3. 4.x src/Controller/LayoutInfoController.php \Drupal\devel\Controller\LayoutInfoController::__construct()

LayoutInfoController constructor.

Parameters

\Drupal\Core\Layout\LayoutPluginManagerInterface $pluginManagerLayout: The layout manager.

File

src/Controller/LayoutInfoController.php, line 27

Class

LayoutInfoController
Returns response for Layout Info route.

Namespace

Drupal\devel\Controller

Code

public function __construct(LayoutPluginManagerInterface $pluginManagerLayout) {
  $this->layoutPluginManager = $pluginManagerLayout;
}