public function BusinessRuleInterface::filterContextAvailableItems in Business Rules 8
Same name and namespace in other branches
- 2.x 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);