1. 1 core/includes/path.inc
  2. 1 core/modules/path/path.inc

Functions to handle paths in Backdrop, including URL aliasing.

These functions are not loaded for cached pages, but modules that need to use them in hook_boot() or hook exit() can make them available, by executing "backdrop_bootstrap(BACKDROP_BOOTSTRAP_FULL);".




Namesort descending Description
backdrop_cache_system_paths Cache system paths for a page.
backdrop_clear_path_cache Clear the path cache.
backdrop_get_normal_path Given a URL alias, return the internal path it represents.
backdrop_get_path_alias Given an internal Backdrop path, return the alias set by the administrator.
backdrop_is_front_page Check if the current page is the home page.
backdrop_lookup_path Given an alias, return its Backdrop system URL if one exists. Given a Backdrop system URL return one of its aliases if such a one exists. Otherwise, return FALSE.
backdrop_match_path Check if a path matches any pattern in a set of patterns.
backdrop_path_initialize Initialize the $_GET['q'] variable to the proper normal path.
backdrop_valid_path Checks a path exists and the current user has access to it.
current_path Return the current URL path of the page being viewed.
path_delete Delete a URL alias.
path_get_admin_paths Gets a list of administrative and non-administrative paths.
path_is_admin Determines whether a path is in the administrative section of the site.
path_load Fetches a specific URL alias from the database.
path_load_multiple Load a collection of URL aliases from the database all at once.
path_save Save a URL alias to the database.