You are here

public function ConditionsItemsController::__construct in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Controller/ConditionsItemsController.php \Drupal\business_rules\Controller\ConditionsItemsController::__construct()

File

src/Controller/ConditionsItemsController.php, line 92

Class

ConditionsItemsController
Class ConditionsItemsController.

Namespace

Drupal\business_rules\Controller

Code

public function __construct(ContainerInterface $container) {
  $this->entityTypeManager = $container
    ->get('entity_type.manager');
  $this->flowchart = $container
    ->get('business_rules.flowchart');
}