-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
8.xBreaking changes for the next major version of AmphoraBreaking changes for the next major version of Amphora
Description
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)
Metadata
Metadata
Assignees
Labels
8.xBreaking changes for the next major version of AmphoraBreaking changes for the next major version of Amphora