Bug 24805 - Provide easier plugin configuration method via YAML pref file
Summary: Provide easier plugin configuration method via YAML pref file
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Plugin architecture (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-05 06:17 UTC by paxed
Modified: 2020-03-05 06:17 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paxed 2020-03-05 06:17:49 UTC
Currently, if a plugin has configurable settings, the plugin author implements the "configure" method, adds a TT template and handles all that, which is quite complex.

In addition to that method, there should be a way to make easier plugin configs:

If there is a "configure.pref" file in the plugin, use that in the same way we use *.pref files for making system preferences, so the plugin author doesn't need to implement anything else.