You are here

stage_file_proxy.api.php in Stage File Proxy 7

Hooks provided by the stage_file_proxy module.

File

stage_file_proxy.api.php
View source
<?php

/**
 * @file
 * Hooks provided by the stage_file_proxy module.
 */

/**
 * Alter the list of paths that should be excluded by stage file proxy.
 *
 * @param array $excluded_paths
 *   An array (passed by reference) of the list of paths.
 */
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_';
  }
}

Functions

Namesort descending Description
hook_stage_file_proxy_excluded_paths_alter Alter the list of paths that should be excluded by stage file proxy.