public function BusinessRuleInterface::checkItemContext in Business Rules 8
Same name and namespace in other branches
- 2.x src/BusinessRuleInterface.php \Drupal\business_rules\BusinessRuleInterface::checkItemContext()
Check if the item is on the same context as the Business Rule.
Parameters
\Drupal\business_rules\BusinessRulesItemObject $itemObject: The business rule object.
Return value
bool If the item is on the same context as the business rule.
1 method overrides BusinessRuleInterface::checkItemContext()
- BusinessRule::checkItemContext in src/
Entity/ BusinessRule.php - Check if the item is on the same context as the Business Rule.
File
- src/
BusinessRuleInterface.php, line 45
Class
- BusinessRuleInterface
- Provides an interface for defining Rule entities.
Namespace
Drupal\business_rulesCode
public function checkItemContext(BusinessRulesItemObject $itemObject);