From 1bb8844f423dbf2f0770a6a8dd82d0fdbbc53e8a Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 15 Aug 2012 10:10:55 +0200 Subject: [PATCH] Document loadSettings hook. --- doc/api/hooks_server-side.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/api/hooks_server-side.md b/doc/api/hooks_server-side.md index 8177696a..518e1213 100644 --- a/doc/api/hooks_server-side.md +++ b/doc/api/hooks_server-side.md @@ -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