public function BusinessRuleInterface::checkItemContext in Business Rules 2.x
Same name and namespace in other branches
- 8 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);