public function BusinessRule::getTargetBundle in Business Rules 2.x
Same name and namespace in other branches
- 8 src/Entity/BusinessRule.php \Drupal\business_rules\Entity\BusinessRule::getTargetBundle()
The target entity bundle id which this rule is applicable.
Context: The rule target bundle id.
Overrides BusinessRuleInterface::getTargetBundle
3 calls to BusinessRule::getTargetBundle()
- BusinessRule::checkItemContext in src/
Entity/ BusinessRule.php - Check if the item is on the same context as the Business Rule.
- BusinessRule::filterContextAvailableItems in src/
Entity/ BusinessRule.php - Return a list of Conditions|Actions compatible with the Rule.
- BusinessRule::getTargetBundleLabel in src/
Entity/ BusinessRule.php - The label of the target entity bundle id which this rule is applicable.
File
- src/
Entity/ BusinessRule.php, line 256
Class
- BusinessRule
- Defines the Rule entity.
Namespace
Drupal\business_rules\EntityCode
public function getTargetBundle() {
return $this->target_bundle;
}