public function Condition::removeSuccessItem in Business Rules 8
Same name and namespace in other branches
- 2.x src/Entity/Condition.php \Drupal\business_rules\Entity\Condition::removeSuccessItem()
Remove one success item from the condition.
Parameters
\Drupal\business_rules\BusinessRulesItemObject $item: The item to be removed.
Overrides ConditionInterface::removeSuccessItem
File
- src/
Entity/ Condition.php, line 136
Class
- Condition
- Defines the Condition entity.
Namespace
Drupal\business_rules\EntityCode
public function removeSuccessItem(BusinessRulesItemObject $item) {
unset($this->success_items[$item
->getId()]);
}