1.20.x 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

includes/path.inc, line 582
Functions to handle paths in Backdrop, including path aliasing.

Code

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