public function BusinessRulesProcessor::__construct in Business Rules 8
Same name and namespace in other branches
- 2.x src/Util/BusinessRulesProcessor.php \Drupal\business_rules\Util\BusinessRulesProcessor::__construct()
BusinessRulesProcessor constructor.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: Drupal container.
File
- src/
Util/ BusinessRulesProcessor.php, line 138
Class
- BusinessRulesProcessor
- Class BusinessRulesProcessor.
Namespace
Drupal\business_rules\UtilCode
public function __construct(ContainerInterface $container) {
$this->configFactory = $container
->get('config.factory');
$this->storage = $container
->get('config.storage');
$this->util = $container
->get('business_rules.util');
$this->actionManager = $container
->get('plugin.manager.business_rules.action');
$this->conditionManager = $container
->get('plugin.manager.business_rules.condition');
$this->variableManager = $container
->get('plugin.manager.business_rules.variable');
$this->config = $this->configFactory
->get('business_rules.settings');
$this->eventDispatcher = $container
->get('event_dispatcher');
$this->entityTypeManager = $container
->get('entity_type.manager');
}