You are here

akamai_test.module in Akamai 7

File

tests/akamai_test.module
View 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

Namesort descending Description
akamai_test_akamai_paths_alter Test adding a special path via the akamai_paths alter hook.