You are here

function hook_kaltura_entry_delete in Kaltura 7.3

Responds to Kaltura Media Entry deletion.

This hook is invoked after the Kaltura Media Entry has been removed from the database.

Parameters

Entity $entity: The Kaltura Media Entry that is being deleted.

See also

hook_entity_delete()

File

./kaltura.api.php, line 124
Hooks provided by Kaltura module.

Code

function hook_kaltura_entry_delete(Entity $entity) {
  db_delete('mytable')
    ->condition('pid', entity_id('kaltura_entry', $entity))
    ->execute();
}