6 calls to RulesComponent::create() in Rules 8.3
- CoreIntegrationTest::testGlobalContext in tests/
src/ Kernel/ CoreIntegrationTest.php - Tests using global context.
- EventComponentResolver::getMultiple in src/
ComponentResolver/ EventComponentResolver.php - Gets multiple components.
- ReactionRuleConfig::getComponent in src/
Entity/ ReactionRuleConfig.php - Gets the Rules component that is invoked when the events are dispatched. The returned component has the definitions of the available event context set.
- RulesComponent::createFromConfiguration in src/
Engine/ RulesComponent.php - Creates a component based on the given configuration array.
- RulesComponentTest::testGetState in tests/
src/ Unit/ Integration/ Engine/ RulesComponentTest.php - @covers ::getState
- RulesEngineTest::testProvidedVariables in tests/
src/ Kernel/ RulesEngineTest.php - Tests that a condition can provide a value and another one can consume it.