You are here

public function Condition::getSuccessItems in Business Rules 8

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

Get all condition's success items.

Return value

array Array of items to be executed if the condition succeed.

Overrides ConditionInterface::getSuccessItems

1 call to Condition::getSuccessItems()
Condition::calculateDependencies in src/Entity/Condition.php
Calculates dependencies and stores them in the dependency property.

File

src/Entity/Condition.php, line 118

Class

Condition
Defines the Condition entity.

Namespace

Drupal\business_rules\Entity

Code

public function getSuccessItems() {
  $success_items = BusinessRulesItemObject::itemsArrayToItemsObject($this->success_items);
  return $success_items;
}