$activePluginMeta =
[];
foreach ($this->pluginLoader->
getPluginInstances()->
getActives() as $plugin) { $class =
$plugin::
class;
$activePluginMeta[$class] =
[ 'name' =>
$plugin->
getName(),
'path' =>
$plugin->
getPath(),
'class' =>
$class,
];
} $pluginDir =
$this->pluginLoader->
getPluginDir($this->
getProjectDir());
$coreDir = \
dirname((string) (new \
ReflectionClass(self::
class))->
getFileName());
return array_merge( $parameters,
[ 'kernel.cache.hash' =>
$this->
getCacheHash(),
'kernel.shopware_version' =>
$this->shopwareVersion,
'kernel.shopware_version_revision' =>
$this->shopwareVersionRevision,
'kernel.shopware_core_dir' =>
$coreDir,
'kernel.plugin_dir' =>
$pluginDir,