You are here

function brightcove_admin_paths in Brightcove Video Connect 7.7

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

Implements hook_admin_paths().

File

./brightcove.module, line 386
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_admin_paths() {
  if (variable_get('node_admin_theme')) {
    $paths = [
      'brightcove_field/upload' => TRUE,
      'brightcove_field/browse/*' => TRUE,
    ];
    return $paths;
  }
  return [];
}