You are here

public function Variable::getItemManager in Business Rules 8

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

Get the plugin manager.

Return value

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

Overrides BusinessRulesItemBase::getItemManager

File

src/Entity/Variable.php, line 53

Class

Variable
Defines the Variable entity.

Namespace

Drupal\business_rules\Entity

Code

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