MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / get_own_menuitems

Method get_own_menuitems

web/pgadmin/about/__init__.py:31–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29
30class AboutModule(PgAdminModule):
31 def get_own_menuitems(self):
32 appname = config.APP_NAME
33
34 return {
35 'help_items': [
36 MenuItem(
37 name='mnu_about',
38 priority=999,
39 module="pgAdmin.About",
40 callback='about_show',
41 icon='fa fa-info-circle',
42 label=gettext('About %(appname)s', appname=appname)
43 )
44 ]
45 }
46
47 def get_exposed_url_endpoints(self):
48 return ['about.index']

Callers

nothing calls this directly

Calls 2

MenuItemClass · 0.90
gettextFunction · 0.85

Tested by

no test coverage detected