You are here

function hook_cdn_blacklist_alter in CDN 7.2

Alter the blacklist.

Parameters

string[] &$blacklist: A set of path patterns.

See also

drupal_match_path()

2 invocations of hook_cdn_blacklist_alter()
cdn_admin_other_settings_form in ./cdn.admin.inc
Form definition; other settings.
cdn_get_blacklist in ./cdn.module
See if any installed modules need to exclude certain files from being accessed from the CDN. List gets updated on cron runs.

File

./cdn.api.php, line 49
Hooks provided by the CDN module.

Code

function hook_cdn_blacklist_alter(&$blacklist) {
  unset($blacklist[1]);
}