You are here

public function Condition::getItemManager in Business Rules 8

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

Get the plugin manager.

Return value

\Drupal\Core\Plugin\DefaultPluginManager The plugin manager to be used.

Overrides BusinessRulesItemBase::getItemManager

File

src/Entity/Condition.php, line 75

Class

Condition
Defines the Condition entity.

Namespace

Drupal\business_rules\Entity

Code

public function getItemManager() {
  return \Drupal::getContainer()
    ->get('plugin.manager.business_rules.condition');
}