You are here

public function BusinessRule::getReactsOn in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Entity/BusinessRule.php \Drupal\business_rules\Entity\BusinessRule::getReactsOn()

The trigger that will start the rule.

Return value

string The reacts on event id for the rule.

Overrides BusinessRuleInterface::getReactsOn

3 calls to BusinessRule::getReactsOn()
BusinessRule::checkItemContext in src/Entity/BusinessRule.php
Check if the item is on the same context as the Business Rule.
BusinessRule::filterContextAvailableItems in src/Entity/BusinessRule.php
Return a list of Conditions|Actions compatible with the Rule.
BusinessRule::getReactsOnLabel in src/Entity/BusinessRule.php
The label of the trigger that will start the rule.

File

src/Entity/BusinessRule.php, line 240

Class

BusinessRule
Defines the Rule entity.

Namespace

Drupal\business_rules\Entity

Code

public function getReactsOn() {
  return $this->reacts_on;
}