mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-10-29 15:21:23 +01:00
Document loadSettings hook.
This commit is contained in:
parent
9957e33f21
commit
1bb8844f42
@ -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…
x
Reference in New Issue
Block a user