summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/simpletest/tests/path_test.module
blob: d3dc80e22e48e2b445f3c5294a6d9b2dd5644f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

/**
 * @file
 * Helper module for the path tests.
 */

/**
 * Resets the path test results.
 */
function path_test_reset() {
  variable_set('path_test_results', array());
}

/**
 * Implements hook_path_update().
 */
function path_test_path_update($path) {
  $results = variable_get('path_test_results', array());
  $results['hook_path_update'] = $path;
  variable_set('path_test_results', $results);
}