You are here

public function ConfigureSectionController::__construct in Layout Builder UX 8

ConfigureSectionController constructor.

Parameters

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

\Drupal\Core\Layout\LayoutPluginManagerInterface $layout_plugin_manager: The layout plugin manager.

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.

File

src/Controller/ConfigureSectionController.php, line 68

Class

ConfigureSectionController
Attempts to add a new section, falls back to a form if necessary.

Namespace

Drupal\lb_ux\Controller

Code

public function __construct(LayoutTempstoreRepositoryInterface $layout_tempstore_repository, LayoutPluginManagerInterface $layout_plugin_manager, FormBuilderInterface $form_builder, MessengerInterface $messenger) {
  $this->layoutTempstoreRepository = $layout_tempstore_repository;
  $this->formBuilder = $form_builder;
  $this->messenger = $messenger;
  $this->layoutPluginManager = $layout_plugin_manager;
}