You are here

function brightcove_write_api_access in Brightcove Video Connect 7.6

Same name and namespace in other branches
  1. 6.2 brightcove.module \brightcove_write_api_access()
  2. 6 brightcove.module \brightcove_write_api_access()
  3. 7.7 brightcove.module \brightcove_write_api_access()
  4. 7.2 brightcove.module \brightcove_write_api_access()
  5. 7.3 brightcove.module \brightcove_write_api_access()
  6. 7.4 brightcove.module \brightcove_write_api_access()
  7. 7.5 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.

File

./brightcove.module, line 2281
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);
}