protected function AssetInjectorBase::conditionPluginManager in Asset Injector 8.2
Gets the condition plugin manager.
Return value
\Drupal\Core\Executable\ExecutableManagerInterface The condition plugin manager.
1 call to AssetInjectorBase::conditionPluginManager()
- AssetInjectorBase::getConditionsCollection in src/
Entity/ AssetInjectorBase.php - Gets conditions for this asset.
File
- src/
Entity/ AssetInjectorBase.php, line 205
Class
- AssetInjectorBase
- Class AssetInjectorBase: Base asset injector class.
Namespace
Drupal\asset_injector\EntityCode
protected function conditionPluginManager() {
if (!isset($this->conditionPluginManager)) {
$this->conditionPluginManager = \Drupal::service('plugin.manager.condition');
}
return $this->conditionPluginManager;
}