Review main Merged

66899[FEATURE] Introduce API for the configuration module

Sebastian Michaelsen CR +2 V +2 Expert +1078 −237 updated 12/01/20, 14:27

Commit message

Instead of having a hardcoded list of "trees" available
in the configuration module a new API is introduced and
all existing tree functionalities are moved into separate
provider classes to use the new API.

Extension authors are now able to add their own providers
to expose their custom configuration in the module. It's
even possible now to disable existing providers shipped
by core or any third-party extension.

Each provider is therefore registered in the `Services.yaml`
of the specific extension by defining the provider class
to be used and adding the `lowlevel.configuration.module.provider`
tag with at least the unique `identifier` attribute.

All providers must then implement the new `ProviderInterface`
to ensure the module can acquire the necessary data to
display the tree and the module menu.

The registration also provides a ordering / sorting
functionality using the DependencyOrderingService.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 22

Show 2 more files