public function LayoutBuilderStyleForm::__construct in Layout Builder Styles 8
Constructs a LayoutBuilderStyleForm object.
Parameters
\Drupal\Core\Block\BlockManagerInterface $blockManager: The block manager.
\Drupal\Core\Block\LayoutPluginManagerInterface $layout_manager: The layout plugin manager.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
File
- src/
Form/ LayoutBuilderStyleForm.php, line 50
Class
- LayoutBuilderStyleForm
- Class LayoutBuilderStyleForm.
Namespace
Drupal\layout_builder_styles\FormCode
public function __construct(BlockManagerInterface $blockManager, LayoutPluginManagerInterface $layout_manager, MessengerInterface $messenger) {
$this->blockManager = $blockManager;
$this->layoutManager = $layout_manager;
$this->messenger = $messenger;
}