mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
Merge pull request #946 from marcelklehr/doc/server-hook-loadSettings
Documentation for 'loadSettings' hook.
This commit is contained in:
commit
59d27226d5
1 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,15 @@ All hooks registered to these events are called with two arguments:
|
||||||
1. name - the name of the hook being called
|
1. name - the name of the hook being called
|
||||||
2. context - an object with some relevant information about the context of the call
|
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
|
## pluginUninstall
|
||||||
Called from: src/static/js/pluginfw/installer.js
|
Called from: src/static/js/pluginfw/installer.js
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue