/** * Getters of toolbar complete config * * @return JsonResponse */ public function getAction() { $settings = $this->config->getSettingsConfig(); $corePlugins = $this->pluginManager->getPluginConfiguration(); $config = array_merge($settings ?: [], $corePlugins); return new JsonResponse($this->resolveResourceBaseUrl($config)); }