public function ManageComponentAttributesForm::__construct in Layout Builder Component Attributes 1.1.x
Same name and namespace in other branches
- 1.2.x src/Form/ManageComponentAttributesForm.php \Drupal\layout_builder_component_attributes\Form\ManageComponentAttributesForm::__construct()
- 1.0.x src/Form/ManageComponentAttributesForm.php \Drupal\layout_builder_component_attributes\Form\ManageComponentAttributesForm::__construct()
Constructs a new ManageComponentAttributesForm.
Parameters
\Drupal\layout_builder\LayoutTempstoreRepositoryInterface $layout_tempstore_repository: The layout tempstore.
\Drupal\Core\Config\ConfigFactory $config_factory: The configuration object factory.
File
- src/
Form/ ManageComponentAttributesForm.php, line 69
Class
- ManageComponentAttributesForm
- Provides a form for managing block attributes.
Namespace
Drupal\layout_builder_component_attributes\FormCode
public function __construct(LayoutTempstoreRepositoryInterface $layout_tempstore_repository, ConfigFactory $config_factory) {
$this->layoutTempstore = $layout_tempstore_repository;
$this->configFactory = $config_factory;
}