From 714b40e2dec44075ff58eba1c7c81577f377ac98 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Sun, 11 Jul 2021 09:11:10 -0400 Subject: Add system configuration for extension (#3626) Before, only the user configuration was supported by extensions. But it was limiting if one has to create a system extension with configuration. Now, both user and system configuration are supported. --- docs/en/developers/03_Backend/05_Extensions.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/en/developers/03_Backend/05_Extensions.md b/docs/en/developers/03_Backend/05_Extensions.md index 0c87793c9..e5e2e51e6 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 `getSystemConfiguration` method retrieves the extension configuration for the system. +* the `setSystemConfiguration` method stores the extension configuration for the system. +* the `removeSystemConfiguration` method removes the extension configuration for the system. * 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. -- cgit v1.2.3