public function BusinessRule::getConditions in Business Rules 8
Same name and namespace in other branches
- 2.x src/Entity/BusinessRule.php \Drupal\business_rules\Entity\BusinessRule::getConditions()
Get the current Business Rule's conditions.
Return value
array Array of conditions.
Overrides BusinessRuleInterface::getConditions
File
- src/
Entity/ BusinessRule.php, line 155
Class
- BusinessRule
- Defines the Rule entity.
Namespace
Drupal\business_rules\EntityCode
public function getConditions() {
return is_array($this->conditions) ? $this->conditions : [];
}