diff options
author | Alexis Degrugillier <aledeg@users.noreply.github.com> | 2021-02-01 18:03:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 00:03:09 +0100 |
commit | 8285f1df43ce19bbd533c70c3fd1487908883725 (patch) | |
tree | 38ef8d767f334f79ffcbb7bd2972ddd500f8b487 /docs/en/developers/03_Backend/05_Extensions.md | |
parent | bed710b260e0032b65eda92d3c395c4f1c71308a (diff) | |
download | freshrss-8285f1df43ce19bbd533c70c3fd1487908883725.tar.gz freshrss-8285f1df43ce19bbd533c70c3fd1487908883725.zip |
Add comprehensive user configuration in extensions (#3397)
Before, the extension configuration was handled by its author. There
was discrepancies between extensions on how the configuration was
stored.
Now, we could rely on a single way of storing configuration. This won't
invalidate how the extensions are storing their configuration but will
allow authors to focus on what is important.
Diffstat (limited to 'docs/en/developers/03_Backend/05_Extensions.md')
-rw-r--r-- | docs/en/developers/03_Backend/05_Extensions.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/en/developers/03_Backend/05_Extensions.md b/docs/en/developers/03_Backend/05_Extensions.md index ba3f10e4f..62eaa5410 100644 --- a/docs/en/developers/03_Backend/05_Extensions.md +++ b/docs/en/developers/03_Backend/05_Extensions.md @@ -300,6 +300,9 @@ The `Minz_Extension` abstract class defines another set of methods that should n * the `registerViews` method registers the extension views in FreshRSS. * the `registerTranslates` method registers the extension translation files in FreshRSS. * the `registerHook` method registers hook actions in different part of the application. +* the `getUserConfiguration` method retrieves the extension configuration for the current user. +* the `setUserConfiguration` method stores the extension configuration for the current user. +* the `removeUserConfiguration` method removes the extension configuration for the current user. > Note that if you modify the later set of methods, you might break the extension system. Thus making FreshRSS unusable. So it's highly recommended to let those unmodified. |