1.20.x drupal.inc drupal_get_normal_path($path, $langcode = NULL)

Given a path alias, return the internal path it represents.

Deprecated

since 1.0.0

See also

backdrop_get_normal_path()

Related topics

File

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

Code

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