You are here

function registration_delete_multiple in Entity Registration 8.2

Same name and namespace in other branches
  1. 8 registration.module \registration_delete_multiple()
  2. 7.2 registration.module \registration_delete_multiple()
  3. 7 registration.module \registration_delete_multiple()

Deletes multiple registrations by ID.

Parameters

$registration_ids: An array of registration IDs to delete.

Return value

TRUE on success, FALSE otherwise.

2 calls to registration_delete_multiple()
registration_delete_confirm_submit in includes/registration.forms.inc
Execute node deletion.
registration_entity_delete in ./registration.module
Implements hook_entity_delete().

File

./registration.module, line 1885

Code

function registration_delete_multiple($registration_ids) {
  return entity_get_controller('registration')
    ->delete($registration_ids);
}