1 path.inc backdrop_clear_path_cache($source = NULL)

Clear the path cache.

Parameters

$source: An optional system path for which an alias is being changed.

File

core/includes/path.inc, line 581
Functions to handle paths in Backdrop, including URL aliasing.

Code

function backdrop_clear_path_cache($source = NULL) {
  // Clear the backdrop_lookup_path() static cache.
  backdrop_static_reset('backdrop_lookup_path');
}