Is your feature request related to a problem? Please describe.
When initializing plugins, occasionally several arguments are needed, which makes for too many arguments being passed to a single function.
Describe the solution you'd like
The function initPlugins in plugins.js should pass an object to each plugin.
Current:
plugin(router, pluginDBAdapter, publish, sites)
Suggested:
plugin(router, paramsObject)
Is your feature request related to a problem? Please describe.
When initializing plugins, occasionally several arguments are needed, which makes for too many arguments being passed to a single function.
Describe the solution you'd like
The function initPlugins in
plugins.jsshould pass an object to each plugin.Current:
plugin(router, pluginDBAdapter, publish, sites)Suggested:
plugin(router, paramsObject)