public function BusinessRuleInterface::filterContextAvailableItems in Business Rules 2.x
Same name and namespace in other branches
- 8 src/BusinessRuleInterface.php \Drupal\business_rules\BusinessRuleInterface::filterContextAvailableItems()
Return a list of Conditions|Actions compatible with the Rule.
Parameters
array $items: Array of Conditions|Actions.
Return value
array The available items considering the rule context.
1 method overrides BusinessRuleInterface::filterContextAvailableItems()
- BusinessRule::filterContextAvailableItems in src/
Entity/ BusinessRule.php - Return a list of Conditions|Actions compatible with the Rule.
File
- src/
BusinessRuleInterface.php, line 56
Class
- BusinessRuleInterface
- Provides an interface for defining Rule entities.
Namespace
Drupal\business_rulesCode
public function filterContextAvailableItems(array $items);