Plugin: aj.plugins.core.api.sidebar¶
- class aj.plugins.core.api.sidebar.SidebarItemProvider(context)[source]¶
Interface for providing sidebar items.
- provide()[source]¶
Should return a list of sidebar items, each in the following format:
{ 'id': 'optional-id', 'attach': 'category:general', # id of the attachment point or None for top level 'name': 'Dashboard', 'icon': 'bar-chart', 'url': '/view/dashboard', 'children': [ ... ] }
- Returns:
list(dict)