getEnabledPlugins(); static::$config = []; foreach ($plugins as $plugin) { foreach ($plugin->app()->getFrontendWidgetConfig() as $key => $item) { array_set(static::$config, $key, $item); } } return static::$config; }); } return static::$config[$type] ?? []; } }