function LayoutInfoController::create

Same name in other branches
  1. 8.x-1.x src/Controller/LayoutInfoController.php \Drupal\devel\Controller\LayoutInfoController::create()
  2. 5.x src/Controller/LayoutInfoController.php \Drupal\devel\Controller\LayoutInfoController::create()

Overrides ControllerBase::create

File

src/Controller/LayoutInfoController.php, line 34

Class

LayoutInfoController
Returns response for Layout Info route.

Namespace

Drupal\devel\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('plugin.manager.core.layout'));
}