You are here

function brightcove_field_theme_callback in Brightcove Video Connect 7.7

Same name and namespace in other branches
  1. 7.6 brightcove.module \brightcove_field_theme_callback()

Theme callback for brightcove browser.

1 string reference to 'brightcove_field_theme_callback'
brightcove_menu in ./brightcove.module
Implements hook_menu().

File

./brightcove.module, line 1233
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_field_theme_callback() {

  // Use admin theme if it is set for creating/editing content.
  if (variable_get('node_admin_theme', FALSE)) {
    return variable_get('admin_theme');
  }

  // Otherwise use the default theme.
  return variable_get('theme_default');
}