You are here

function hook_kaltura_entry_update in Kaltura 7.3

Responds to a Kaltura Media Entry being updated.

This hook is invoked after the Kaltura Media Entry has been updated in the database.

Parameters

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

See also

hook_entity_update()

File

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

Code

function hook_kaltura_entry_update(Entity $entity) {
  db_update('mytable')
    ->fields(array(
    'extra' => print_r($entity, TRUE),
  ))
    ->condition('id', entity_id('kaltura_entry', $entity))
    ->execute();
}