You are here

public function BusinessRule::getItems in Business Rules 2.x

Same name and namespace in other branches
  1. 8 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 287

Class

BusinessRule
Defines the Rule entity.

Namespace

Drupal\business_rules\Entity

Code

public function getItems() {
  $obj_items = BusinessRulesItemObject::itemsArrayToItemsObject($this->items);
  return $obj_items;
}