You are here

function hook_stage_file_proxy_excluded_paths_alter in Stage File Proxy 7

Alter the list of paths that should be excluded by stage file proxy.

Parameters

array $excluded_paths: An array (passed by reference) of the list of paths.

1 function implements hook_stage_file_proxy_excluded_paths_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

stage_file_proxy_stage_file_proxy_excluded_paths_alter in ./stage_file_proxy.module
Implements hook_stage_file_proxy_excluded_paths_alter().
1 invocation of hook_stage_file_proxy_excluded_paths_alter()
stage_file_proxy_process_file_uri in ./stage_file_proxy.module
Checks to see if a file should be downloaded from the origin site.

File

./stage_file_proxy.api.php, line 14
Hooks provided by the stage_file_proxy module.

Code

function hook_stage_file_proxy_excluded_paths_alter(array &$excluded_paths) {

  // If this is a advagg path, ignore it.
  if (module_exists('advagg')) {
    $excluded_paths[] = '/advagg_';
  }
}