(domain, form, module)
return vellum_plugins
Returns a list of enabled vellum plugins based on the domain's
    privileges.
Returns a list of enabled vellum plugins based on the domain's
    privileges.
Returns a list of enabled vellum plugins based on the domain s privileges .
def _get_vellum_plugins(domain, form, module):
    """
    Returns a list of enabled vellum plugins based on the domain's
    privileges.
    """
    vellum_plugins = ["modeliteration", "itemset", "atwho"]
    if (toggles.COMMTRACK.enabled(domain)
            or toggles.NON_COMMTRACK_LEDGERS.enabled(domain)):
        vellum_plugins.append("commtrack")
    if toggles.VELLUM_SAVE_TO_CASE.enabled(domain):
        vellum_plugins.append("saveToCase")

    form_uses_case = (
        (module and module.case_type and form.requires_case()) or
        is_usercase_in_use(domain)
    )
    form_is_basic = form.doc_type == 'Form'
    if form_uses_case and form_is_basic:
        vellum_plugins.append("databrowser")

    return vellum_plugins
def _get_vellum_plugins ( domain , form , module ) : vellum_plugins = [ "modeliteration" , "itemset" , "atwho" ] if ( toggles . COMMTRACK . enabled ( domain ) or toggles . NON_COMMTRACK_LEDGERS . enabled ( domain ) ) : vellum_plugins . append ( "commtrack" ) if toggles . VELLUM_SAVE_TO_CASE . enabled ( domain ) : vellum_plugins . append ( "saveToCase" ) form_uses_case = ( ( module and module . case_type and form . requires_case ( ) ) or is_usercase_in_use ( domain ) ) form_is_basic = form . doc_type == 'Form' if form_uses_case and form_is_basic : vellum_plugins . append ( "databrowser" ) return vellum_plugins