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

includes/drupal.inc, line 2176
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);
}