You are here

public function ConditionInterface::filterContextAvailableItems in Business Rules 8

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

Return a list of Conditions|Actions compatible with the Condition.

Parameters

array $items: Array of items.

Return value

array The available items considering the condition context.

1 method overrides ConditionInterface::filterContextAvailableItems()
Condition::filterContextAvailableItems in src/Entity/Condition.php
Return a list of Conditions|Actions compatible with the Condition.

File

src/ConditionInterface.php, line 61

Class

ConditionInterface
Provides an interface for defining Condition entities.

Namespace

Drupal\business_rules

Code

public function filterContextAvailableItems(array $items);