public function Panels::__construct in Panels 8.3
Same name and namespace in other branches
- 8.4 src/Controller/Panels.php \Drupal\panels\Controller\Panels::__construct()
Constructs a new VariantPluginEditForm.
Parameters
\Drupal\Core\Block\BlockManagerInterface $block_manager: The block manager.
\Drupal\Component\Plugin\PluginManagerInterface $condition_manager: The condition manager.
\Drupal\Component\Plugin\PluginManagerInterface $variant_manager: The variant manager.
\Drupal\Core\Plugin\Context\ContextHandlerInterface $context_handler: The context handler.
\Drupal\user\SharedTempStoreFactory $tempstore: The tempstore factory.
File
- src/
Controller/ Panels.php, line 76
Class
- Panels
- Provides route controllers for Panels routes.
Namespace
Drupal\panels\ControllerCode
public function __construct(BlockManagerInterface $block_manager, PluginManagerInterface $condition_manager, PluginManagerInterface $variant_manager, ContextHandlerInterface $context_handler, SharedTempStoreFactory $tempstore) {
$this->blockManager = $block_manager;
$this->conditionManager = $condition_manager;
$this->variantManager = $variant_manager;
$this->contextHandler = $context_handler;
$this->tempstore = $tempstore;
}