You are here

public function BusinessRuleForm::__construct in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Form/BusinessRuleForm.php \Drupal\business_rules\Form\BusinessRuleForm::__construct()

BusinessRuleForm constructor.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The services container.

File

src/Form/BusinessRuleForm.php, line 66

Class

BusinessRuleForm
Class BusinessRuleForm.

Namespace

Drupal\business_rules\Form

Code

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