protected static function detectPlugins(ObjectManagerInterface $objectManager)
{
$pluginConfigurations = array();
$classNames = $objectManager->get(ReflectionService::class)->getAllImplementationClassNamesForInterface(NodeCommandControllerPluginInterface::class);
foreach ($classNames as $className) {
$pluginConfigurations[$className] = array('object' => $objectManager->get($objectManager->getObjectNameByClassName($className)));
}
return $pluginConfigurations;
}