drupal_clear_path_cache

Versions
4.7 – 7
drupal_clear_path_cache()

Reset the static variable which holds the aliases mapped for this request.

▾ 2 functions call drupal_clear_path_cache()

path_delete in includes/path.inc
Delete a URL alias.
path_save in includes/path.inc
Save a path alias to the database.

Code

includes/common.inc, line 359

<?php
function drupal_clear_path_cache() {
  drupal_lookup_path('wipe');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.