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

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

Deprecated

since 1.0.0

See also

backdrop_get_normal_path()

Related topics

File

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