You are here

public function Condition::getFailItems in Business Rules 8

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

Get all condition's fail items.

Return value

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

Overrides ConditionInterface::getFailItems

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

File

src/Entity/Condition.php, line 127

Class

Condition
Defines the Condition entity.

Namespace

Drupal\business_rules\Entity

Code

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