You are here

public function PanelizerIPEController::__construct in Lightning Workflow 8

Same name and namespace in other branches
  1. 8.3 src/Controller/PanelizerIPEController.php \Drupal\lightning_workflow\Controller\PanelizerIPEController::__construct()
  2. 8.2 src/Controller/PanelizerIPEController.php \Drupal\lightning_workflow\Controller\PanelizerIPEController::__construct()

PanelizerIPEController constructor.

Parameters

PanelizerInterface $panelizer: The Panelizer service.

ModerationInformationInterface $mod_info: The moderation information service.

File

src/Controller/PanelizerIPEController.php, line 31

Class

PanelizerIPEController
Controller for Panels IPE routes that are specific to Panelizer.

Namespace

Drupal\lightning_workflow\Controller

Code

public function __construct(PanelizerInterface $panelizer, ModerationInformationInterface $mod_info) {
  parent::__construct($panelizer);
  $this->modInfo = $mod_info;
}