Koha::Patron::Consents
Koha::Objects class for handling patron consents
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, .. } } ]