def add_link(self, link):
        if link.category:
            self.add_menu_item(link, link.category)
        else:
            self._menu_links.append(link)
Add link to menu links collection.
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/base.py/Admin.add_link