def _get_panels(self, req):
        panels = []
        providers = {}
        for provider in self.panel_providers:
            p = list(provider.get_preference_panels(req) or [])
            for panel in p:
                providers[panel[0]] = provider
            panels += p

        return panels, providers
Return a list of available preference panels.
dataset/ETHPy150Open edgewall/trac/trac/prefs/web_ui.py/PreferencesModule._get_panels