root / drupal7 / modules / simpletest / tests / path_test.module @ c7768a53
1 |
<?php |
---|---|
2 |
|
3 |
/** |
4 |
* @file |
5 |
* Helper module for the path tests. |
6 |
*/ |
7 |
|
8 |
/** |
9 |
* Resets the path test results. |
10 |
*/ |
11 |
function path_test_reset() { |
12 |
variable_set('path_test_results', array()); |
13 |
} |
14 |
|
15 |
/** |
16 |
* Implements hook_path_update(). |
17 |
*/ |
18 |
function path_test_path_update($path) { |
19 |
$results = variable_get('path_test_results', array()); |
20 |
$results['hook_path_update'] = $path; |
21 |
variable_set('path_test_results', $results); |
22 |
} |
23 |
|