1 drupal.inc drupal_get_path_alias($path = NULL, $langcode = NULL)

Given an internal Backdrop path, return the alias set by the administrator.

Deprecated

since 1.0.0

See also

backdrop_get_path_alias()

Related topics

File

core/includes/drupal.inc, line 2172
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_get_path_alias($path = NULL, $langcode = NULL) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_get_path_alias($path, $langcode);
}