Resource functions
Collection functions
Search functions
IIIF
Metadata functions
User functions
System
Message functions
Plugin functions

consentmanager_link_consent

Link a consent record with a resource.

Variable Description Data type
$consent *
The ID of the consent record to be linked to the resource.
int
$resource *
The ID of the resource to which the consent is being linked.
int

Return values

Returns true if the consent was successfully linked else false.