Mercurial > hg > rr-repo
view modules/simpletest/tests/path_test.module @ 9:830c812b520f
added smtp module
author | root <root@paio.local> |
---|---|
date | Mon, 28 Oct 2013 15:34:27 +0000 |
parents | ff03f76ab3fe |
children |
line wrap: on
line 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); }