akamai_test.module in Akamai 8
Same filename and directory in other branches
File
tests/akamai_test.moduleView source
<?php
/**
* Test adding a special path via the akamai_paths alter hook.
*/
function akamai_test_akamai_paths_alter(&$paths, $node) {
if (in_array('clear/me', $paths)) {
$paths = array();
}
else {
$paths[] = "akamai/paths/alter/test";
}
}
Functions
Name | Description |
---|---|
akamai_test_akamai_paths_alter | Test adding a special path via the akamai_paths alter hook. |