function drupal_get_normal_path

cis7 drupal_get_normal_path($path, $path_language = NULL)
cle7 drupal_get_normal_path($path, $path_language = NULL)
elmsmedia7 drupal_get_normal_path($path, $path_language = NULL)
icor7 drupal_get_normal_path($path, $path_language = NULL)
meedjum_blog7 drupal_get_normal_path($path, $path_language = NULL)
mooc7 drupal_get_normal_path($path, $path_language = NULL)

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


$path: A Drupal path alias.

$path_language: An optional language code to look up the path in.

Return value

The internal path represented by the alias, or the original alias if no internal path was found.

15 calls to drupal_get_normal_path()
boost_transform_url in sites/all/modules/ulmus/boost/boost.module
Given a URL give back eveything we know
ckeditor_link_revert in sites/all/modules/ulmus/ckeditor_link/ckeditor_link.module
context_ui_init in sites/all/modules/ulmus/context/context_ui/context_ui.module
Implemenation of hook_init().
drupal_deliver_html_page in includes/
Packages and sends the result of a page callback to the browser as HTML.
drupal_path_initialize in includes/
Initialize the $_GET['q'] variable to the proper normal path.

... See full list


includes/, line 259
Functions to handle paths in Drupal, including path aliasing.


function drupal_get_normal_path($path, $path_language = NULL) {
  $original_path = $path;

  // Lookup the path alias first.
  if ($source = drupal_lookup_path('source', $path, $path_language)) {
    $path = $source;

  // Allow other modules to alter the inbound URL. We cannot use drupal_alter()
  // here because we need to run hook_url_inbound_alter() in the reverse order
  // of hook_url_outbound_alter().
  foreach (array_reverse(module_implements('url_inbound_alter')) as $module) {
    $function = $module . '_url_inbound_alter';
    $function($path, $original_path, $path_language);

  return $path;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.