1. 08 Jan, 2021 1 commit
  2. 01 Dec, 2020 1 commit
    • Sebastian Michaelsen's avatar
      [FEATURE] Introduce API for the configuration module · ce6d4902
      Sebastian Michaelsen authored
      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.
      
      Resolves: #92929
      Releases: master
      Change-Id: I94e81e4b68ff9402444dca9449d251302380fd9f
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66899Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
      Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
      Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
      Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
      ce6d4902