@classmethod
def _add_ckan_admin_tabs(cls, config, route_name, tab_label, config_var=
    'ckan.admin_tabs'):
    """
        Update 'ckan.admin_tabs' dict the passed config dict.
        """
    admin_tabs_dict = config.get(config_var, {})
    admin_tabs_dict.update({route_name: tab_label})
    config.update({config_var: admin_tabs_dict})
