interface ItemableInterface in Business Rules 8
Same name and namespace in other branches
- 2.x src/ItemableInterface.php \Drupal\business_rules\ItemableInterface
Interface ItemableInterface.
Business Rules items which contains items.
@package Drupal\business_rules
Hierarchy
- interface \Drupal\business_rules\ItemableInterface
Expanded class hierarchy of ItemableInterface
All classes that implement ItemableInterface
File
- src/
ItemableInterface.php, line 12
Namespace
Drupal\business_rulesView source
interface ItemableInterface {
/**
* The Business rule's items.
*
* @return array
* Array of BusinessRulesItemObject.
*/
public function getItems();
/**
* Return a list of Conditions|Actions compatible with the Rule.
*
* @param array $items
* Array of Conditions|Actions.
*
* @return array
* The available items considering the rule context.
*/
public function filterContextAvailableItems(array $items);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ItemableInterface:: |
public | function | Return a list of Conditions|Actions compatible with the Rule. | |
ItemableInterface:: |
public | function | The Business rule's items. |