function AddSectionController::__construct

Same name and namespace in other branches
  1. 11.x core/modules/layout_builder/src/Controller/AddSectionController.php \Drupal\layout_builder\Controller\AddSectionController::__construct()
  2. 10 core/modules/layout_builder/src/Controller/AddSectionController.php \Drupal\layout_builder\Controller\AddSectionController::__construct()
  3. 9 core/modules/layout_builder/src/Controller/AddSectionController.php \Drupal\layout_builder\Controller\AddSectionController::__construct()
  4. 8.9.x core/modules/layout_builder/src/Controller/AddSectionController.php \Drupal\layout_builder\Controller\AddSectionController::__construct()

AddSectionController constructor.

Parameters

\Drupal\layout_builder\LayoutTempstoreRepositoryInterface $layoutTempstoreRepository: The layout tempstore repository.

File

core/modules/layout_builder/src/Controller/AddSectionController.php, line 30

Class

AddSectionController
Defines a controller to add a new section.

Namespace

Drupal\layout_builder\Controller

Code

public function __construct(protected LayoutTempstoreRepositoryInterface $layoutTempstoreRepository) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.