You are here

public function Panels::__construct in Panels 8.4

Same name and namespace in other branches
  1. 8.3 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\Core\TempStore\SharedTempStoreFactory $tempstore: The tempstore factory.

File

src/Controller/Panels.php, line 72

Class

Panels
Provides route controllers for Panels routes.

Namespace

Drupal\panels\Controller

Code

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;
}