public function VariantPluginAddBlockForm::__construct in Page Manager 8.4
Same name and namespace in other branches
- 8 page_manager_ui/src/Form/VariantPluginAddBlockForm.php \Drupal\page_manager_ui\Form\VariantPluginAddBlockForm::__construct()
Constructs a new VariantPluginFormBase.
Parameters
\Drupal\Core\TempStore\SharedTempStoreFactory $tempstore: The shared temp store.
\Drupal\Component\Plugin\PluginManagerInterface $block_manager: The block manager.
Overrides VariantPluginConfigureBlockFormBase::__construct
File
- page_manager_ui/
src/ Form/ VariantPluginAddBlockForm.php, line 31
Class
- VariantPluginAddBlockForm
- Provides a form for adding a block plugin to a variant.
Namespace
Drupal\page_manager_ui\FormCode
public function __construct(SharedTempStoreFactory $tempstore, PluginManagerInterface $block_manager) {
parent::__construct($tempstore);
$this->blockManager = $block_manager;
}