You are here

public function PanelizerIPEController::__construct in Lightning Workflow 8.3

Same name and namespace in other branches
  1. 8 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

\Drupal\panelizer\PanelizerInterface $panelizer: The Panelizer service.

\Drupal\content_moderation\ModerationInformationInterface $mod_info: The moderation information service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/Controller/PanelizerIPEController.php, line 47

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, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($panelizer);
  $this->modInfo = $mod_info;
  $this->entityTypeManager = $entity_type_manager;
}