You are here

public function BusinessRulesItemBase::getTargetBundle in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Entity/BusinessRulesItemBase.php \Drupal\business_rules\Entity\BusinessRulesItemBase::getTargetBundle()

Return the target entity bundle id which this item is applicable.

Return value

string The target entity bundle id which this item is applicable.

Overrides ItemInterface::getTargetBundle

1 call to BusinessRulesItemBase::getTargetBundle()
Condition::filterContextAvailableItems in src/Entity/Condition.php
Return a list of Conditions|Actions compatible with the Condition.

File

src/Entity/BusinessRulesItemBase.php, line 204

Class

BusinessRulesItemBase
Class Item.

Namespace

Drupal\business_rules\Entity

Code

public function getTargetBundle() {
  return $this->target_bundle;
}