public function BusinessRule::getItems in Business Rules 8
Same name and namespace in other branches
- 2.x src/Entity/BusinessRule.php \Drupal\business_rules\Entity\BusinessRule::getItems()
The Business rule's items.
Return value
array Array of BusinessRulesItemObject.
Overrides BusinessRuleInterface::getItems
2 calls to BusinessRule::getItems()
- BusinessRule::calculateDependencies in src/
Entity/ BusinessRule.php - Calculates dependencies and stores them in the dependency property.
- BusinessRule::getItemMaxWeight in src/
Entity/ BusinessRule.php - Get the max weight for the Business Rule's items.
File
- src/
Entity/ BusinessRule.php, line 264
Class
- BusinessRule
- Defines the Rule entity.
Namespace
Drupal\business_rules\EntityCode
public function getItems() {
$obj_items = BusinessRulesItemObject::itemsArrayToItemsObject($this->items);
return $obj_items;
}