<<

NAME

Koha::Patron::Consents

DESCRIPTION

Koha::Objects class for handling patron consents

API

Class Methods

available_types

    Returns an HASHref of available consent types like:
        { type1 => {}, type2 => {}, .. }

    Checks PrivacyPolicyConsent preference and any patron_consent_type plugins (if pref enabled).

    Note: The plugins return an ARRAYref with type, title and description like:
        [ my_type => { title => { lang => 1, .. }, description => { lang => 2, .. } } ]

_type

object_class

<<