Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ChooseSectionController.php

function ChooseSectionController::create

Overrides ContainerInjectionInterface::create

File

core/modules/layout_builder/src/Controller/ChooseSectionController.php, line 49

Class

ChooseSectionController
Defines a controller to choose a new section.

Namespace

Drupal\layout_builder\Controller

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal