def METHOD_NAME(sender, **kwargs):
    from indico.modules.events.contributions.util import user_has_contributions
    from indico.modules.events.layout.util import MenuEntryData
    def _visible_my_contributions(event):
        if not session.user:
            return False
        return user_has_contributions(event, session.user)
    def _visible_list_of_contributions(event):
        published = contribution_settings.get(event, 'published')
        can_manage = event.can_manage(session.user)
        return (published or can_manage) and Contribution.query.filter(Contribution.event == event).has_rows()
    yield MenuEntryData(title=_('My Contributions'), name='my_contributions', visible=_visible_my_contributions,
                        endpoint='contributions.my_contributions', position=2, parent='my_conference')
    yield MenuEntryData(title=_('Contribution List'), name='contributions', endpoint='contributions.contribution_list',
                        position=4, static_site=True, visible=_visible_list_of_contributions)
    yield MenuEntryData(title=_('Author List'), name='author_index', endpoint='contributions.author_list', position=5,
                        is_enabled=False, static_site=True)
    yield MenuEntryData(title=_('Speaker List'), name='speaker_index', endpoint='contributions.speaker_list',
                        position=6, is_enabled=False, static_site=True)