You are here

function brightcove_field_admin_paths in Brightcove Video Connect 7.4

Same name and namespace in other branches
  1. 7.3 brightcove_field/brightcove_field.module \brightcove_field_admin_paths()
  2. 7.5 brightcove_field/brightcove_field.module \brightcove_field_admin_paths()

Implements hook_admin_paths().

File

brightcove_field/brightcove_field.module, line 287
Brightcove field module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.

Code

function brightcove_field_admin_paths() {
  if (variable_get('node_admin_theme')) {
    $paths = array(
      'brightcove_field/upload' => TRUE,
      'brightcove_field/browse/*' => TRUE,
    );
    return $paths;
  }
}