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

delete_resources_in_collection

From version 10.6. Deletes all resources in a collection. The user must have edit access to the resources, permission to delete resources and the collection must be writable.

Variable Description Data type
$collection * The ID of the collection. integer

Return values

True or false depending on operation success.