path_test.module

Helper module for the path tests.

File

modules/simpletest/tests/path_test.module

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

Functions

Title Deprecated Summary
path_test_path_update Implements hook_path_update().
path_test_reset Resets the path test results.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.