.. include:: /Includes.rst.txt .. index:: Backend modules; ModuleProvider .. _backend-module-provider-api: =================== ModuleProvider API =================== The :php:`ModuleProvider` API allows extension authors to work with the registered modules. This API is the central point to retrieve modules, since it automatically performs necessary access checks and prepares specific structures, for example for the use in menus. .. include:: /CodeSnippets/Manual/Backend/ModuleProvider.rst.txt .. index:: Backend modules; ModuleInterface .. _backend-module-interface: ModuleInterface =============== The registered backend modules are stored as objects in a registry. All module objects implement the :php:`ModuleInterface`. This allows a well-defined OOP-based approach to work with registered models. The :php:`ModuleInterface` basically provides getters for the options defined in the module registration and additionally provides methods for relation handling (main modules and sub modules). .. include:: /CodeSnippets/Manual/Backend/ModuleInterface.rst.txt