You are here

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

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

File

src/Form/ItemForm.php, line 61

Class

ItemForm
Base class for Business rules item.

Namespace

Drupal\business_rules\Form

Code

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