You are here

public function PageManagerController::__construct in Page Manager 8

Same name and namespace in other branches
  1. 8.4 page_manager_ui/src/Controller/PageManagerController.php \Drupal\page_manager_ui\Controller\PageManagerController::__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. + * @param \Drupal\user\SharedTempStoreFactory $tempstore + * The tempstore factory.

File

page_manager_ui/src/Controller/PageManagerController.php, line 79
Contains \Drupal\page_manager_ui\Controller\PageManagerController.

Class

PageManagerController
Provides route controllers for Page Manager.

Namespace

Drupal\page_manager_ui\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;
}