drupal_clear_path_cache

Versions
4.7 – 7
drupal_clear_path_cache()

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

▾ 1 function calls drupal_clear_path_cache()

path_set_alias in modules/path.module
Set an aliased path for a given Drupal path, preventing duplicates.

Code

includes/common.inc, line 124

<?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.