public function BusinessRule::getTargetEntityType in Business Rules 8
Same name and namespace in other branches
- 2.x src/Entity/BusinessRule.php \Drupal\business_rules\Entity\BusinessRule::getTargetEntityType()
The entity type id which this rule is applicable.
Context: The rule target entity type id.
Overrides BusinessRuleInterface::getTargetEntityType
4 calls to BusinessRule::getTargetEntityType()
- 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.
- BusinessRule::getTargetEntityTypeLabel in src/
Entity/ BusinessRule.php - The label of the entity type id which this rule is applicable.
File
- src/
Entity/ BusinessRule.php, line 226
Class
- BusinessRule
- Defines the Rule entity.
Namespace
Drupal\business_rules\EntityCode
public function getTargetEntityType() {
return $this->target_entity_type;
}