public function BusinessRuleInterface::addItem in Business Rules 8
Same name and namespace in other branches
- 2.x src/BusinessRuleInterface.php \Drupal\business_rules\BusinessRuleInterface::addItem()
Add one item on the Business Rule's items.
Parameters
\Drupal\business_rules\BusinessRulesItemObject $item: The item to be added.
1 method overrides BusinessRuleInterface::addItem()
- BusinessRule::addItem in src/
Entity/ BusinessRule.php - Add one item on the Business Rule's items.
File
- src/
BusinessRuleInterface.php, line 34
Class
- BusinessRuleInterface
- Provides an interface for defining Rule entities.
Namespace
Drupal\business_rulesCode
public function addItem(BusinessRulesItemObject $item);