Merge pull request #946 from marcelklehr/doc/server-hook-loadSettings

Documentation for 'loadSettings' hook.
This commit is contained in:
John McLear 2012-08-16 09:22:41 -07:00
commit 59d27226d5

View file

@ -6,6 +6,15 @@ All hooks registered to these events are called with two arguments:
1. name - the name of the hook being called
2. context - an object with some relevant information about the context of the call
## loadSettings
Called from: src/node/server.js
Things in context:
1. settings - the settings object
Use this hook to receive the global settings in your plugin.
## pluginUninstall
Called from: src/static/js/pluginfw/installer.js