You are here

function brightcove_player_save in Brightcove Video Connect 7.3

Same name and namespace in other branches
  1. 7.2 brightcove.module \brightcove_player_save()
  2. 7.4 brightcove.module \brightcove_player_save()
  3. 7.5 brightcove.module \brightcove_player_save()

Save a player.

Parameters

$player:

Return value

DatabaseStatementInterface|int|null

2 calls to brightcove_player_save()
brightcove_update_7002 in ./brightcove.install
Migrates old player id and key to the table.
brightcove_update_7005 in ./brightcove.install
Adding a "Display name" column. Move existing "Name" data into that and make "Name" machine-readable.

File

./brightcove.module, line 845
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_player_save($player) {
  ctools_include('export');
  return ctools_export_crud_save('brightcove_player', $player);
}