You are here

public function ConfigureSectionForm::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Form/ConfigureSectionForm.php \Drupal\layout_builder\Form\ConfigureSectionForm::__construct()

Constructs a new ConfigureSectionForm.

Parameters

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

\Drupal\Core\Plugin\PluginFormFactoryInterface $plugin_form_manager: The plugin form manager.

File

core/modules/layout_builder/src/Form/ConfigureSectionForm.php, line 86

Class

ConfigureSectionForm
Provides a form for configuring a layout section.

Namespace

Drupal\layout_builder\Form

Code

public function __construct(LayoutTempstoreRepositoryInterface $layout_tempstore_repository, PluginFormFactoryInterface $plugin_form_manager) {
  $this->layoutTempstoreRepository = $layout_tempstore_repository;
  $this->pluginFormFactory = $plugin_form_manager;
}