You are here

public function BusinessRuleInterface::addItem in Business Rules 8

Same name and namespace in other branches
  1. 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_rules

Code

public function addItem(BusinessRulesItemObject $item);