public function BlockFormBase::__construct in Context 8.0
Same name and namespace in other branches
- 8.4 src/Reaction/Blocks/Form/BlockFormBase.php \Drupal\context\Reaction\Blocks\Form\BlockFormBase::__construct()
- 8 src/Reaction/Blocks/Form/BlockFormBase.php \Drupal\context\Reaction\Blocks\Form\BlockFormBase::__construct()
Constructs a new VariantPluginFormBase.
Parameters
\Drupal\Component\Plugin\PluginManagerInterface $block_manager: The block manager.
\Drupal\Core\Plugin\Context\ContextRepositoryInterface $contextRepository:
\Drupal\Core\Extension\ThemeHandlerInterface $themeHandler:
\Drupal\Core\Form\FormBuilderInterface $formBuilder:
\Drupal\context\ContextReactionManager $contextReactionManager:
\Drupal\context\ContextManager $contextManager:
File
- src/
Reaction/ Blocks/ Form/ BlockFormBase.php, line 94
Class
Namespace
Drupal\context\Reaction\Blocks\FormCode
public function __construct(PluginManagerInterface $block_manager, ContextRepositoryInterface $contextRepository, ThemeHandlerInterface $themeHandler, FormBuilderInterface $formBuilder, ContextReactionManager $contextReactionManager, ContextManager $contextManager) {
$this->blockManager = $block_manager;
$this->contextRepository = $contextRepository;
$this->themeHandler = $themeHandler;
$this->formBuilder = $formBuilder;
$this->contextReactionManager = $contextReactionManager;
$this->contextManager = $contextManager;
}