function brightcove_write_api_access in Brightcove Video Connect 7.5
Same name and namespace in other branches
- 6.2 brightcove.module \brightcove_write_api_access()
- 6 brightcove.module \brightcove_write_api_access()
- 7.7 brightcove.module \brightcove_write_api_access()
- 7.2 brightcove.module \brightcove_write_api_access()
- 7.3 brightcove.module \brightcove_write_api_access()
- 7.4 brightcove.module \brightcove_write_api_access()
- 7.6 brightcove.module \brightcove_write_api_access()
Check a set of API keys to determine write access to Brightcove Studio. Only customers with Professional and higher accounts have write access.
Return value
bool TRUE for write access allowed. FALSE for write access forbidden.
2 calls to brightcove_write_api_access()
- _brightcove_field_playlist_instance_settings_form in brightcove_field/
brightcove_field.playlist.inc - @file Holds all of the playlist field related methods.
- _brightcove_field_video_instance_settings_form in brightcove_field/
brightcove_field.video.inc - @file Holds all of the video field related methods.
File
- ./
brightcove.module, line 396 - 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_write_api_access() {
return (bool) variable_get('brightcove_write_api_key', FALSE);
}