function AddComponent::__construct

File

core/modules/layout_builder/src/Plugin/ConfigAction/AddComponent.php, line 66

Class

AddComponent
Adds a component to a layout builder section.

Namespace

Drupal\layout_builder\Plugin\ConfigAction

Code

public function __construct(private readonly ConfigManagerInterface $configManager, private readonly UuidInterface $uuidGenerator, private readonly string $pluginId) {
}

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