addMenuItem(_context, title, description='', menu=None, for_=None, class_=None, factory=None, view=None, icon=None, filter=None, permission=None, layer=<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>, extra=None, order=0)

Documentation String

Create an add menu item for a given class or factory

As a convenience, a class can be provided, in which case, a factory is automatically defined based on the class. In this case, the factory id is based on the class name.