You are here

function brightcove_update_callback_metadata in Brightcove Video Connect 7.7

Same name and namespace in other branches
  1. 7.6 brightcove.module \brightcove_update_callback_metadata()
1 call to brightcove_update_callback_metadata()
brightcove_metadata in ./brightcove.module

File

./brightcove.module, line 2724
Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.

Code

function brightcove_update_callback_metadata($hash, array $metadata) {
  return (bool) db_update('brightcove_callback')
    ->fields([
    'metadata' => json_encode($metadata),
  ])
    ->condition('hash', $hash)
    ->execute();
}