1 path_test.module | path_test_path_update($path) |
Implements hook_path_update().
File
- core/
modules/ simpletest/ tests/ path_test.module, line 35 - Helper module for the path tests.
Code
function path_test_path_update($path) {
backdrop_set_message('path_test_path_update(): ' . $path['alias'] . ' => ' . $path['source']);
// @see PathSaveTest::testBackdropSaveOriginalPath().
$results = state_get('path_test_results', array());
$results['hook_path_update'] = $path;
state_set('path_test_results', $results);
}