cms/drupal/modules/simpletest/tests/path_test.module
author ymh <ymh.work@gmail.com>
Tue, 20 Mar 2018 15:02:40 +0100
changeset 573 25f3d28f51b2
parent 541 e756a8c72c3d
permissions -rwxr-xr-x
Added tag 0.0.25 for changeset 190ae1dee68d

<?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);
}