You are here

public function Condition::getItemManager in Business Rules 2.x

Same name and namespace in other branches
  1. 8 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 99

Class

Condition
Defines the Condition entity.

Namespace

Drupal\business_rules\Entity

Code

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