You are here

function hook_kaltura_entry_presave in Kaltura 7.3

Acts on a Kaltura Media Entry being inserted or updated.

This hook is invoked before the Kaltura Media Entry is saved to the database.

Parameters

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

See also

hook_entity_presave()

File

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

Code

function hook_kaltura_entry_presave(Entity $entity) {
  ++$entity->kaltura_views;
}