You are here

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

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

Class

Variable
Defines the Variable entity.

Namespace

Drupal\business_rules\Entity

Code

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