public function BlockManagerForm::__construct in Gutenberg 8.2
Same name and namespace in other branches
- 8 modules/gutenberg_cloud/src/Form/BlockManagerForm.php \Drupal\gutenberg_cloud\Form\BlockManagerForm::__construct()
BlockManagerForm constructor.
Parameters
\Drupal\Core\Messenger\MessengerInterface $messenger: Messanger service.
\Drupal\gutenberg_cloud\CloudBlockManager $block_manager: Cloud Block Manager service.
\Drupal\Core\Asset\LibraryDiscoveryInterface $library_discovery: Library Discovery service.
Overrides ConfigFormBase::__construct
File
- modules/
gutenberg_cloud/ src/ Form/ BlockManagerForm.php, line 61
Class
- BlockManagerForm
- Configure Gutenberg Cloud blocks.
Namespace
Drupal\gutenberg_cloud\FormCode
public function __construct(MessengerInterface $messenger, CloudBlockManager $block_manager, LibraryDiscoveryInterface $library_discovery) {
$this->messenger = $messenger;
$this->blockManager = $block_manager;
$this->libraryDiscovery = $library_discovery;
}