function _language_resolved_path

Stores or retrieves the path derived during language negotiation.

@todo Replace this with a path processor in language module. See http://drupal.org/node/1888424.

Parameters

string $new_path: The altered path.

File

drupal/core/includes/bootstrap.inc, line 2653
Functions that need to be loaded on every Drupal request.

Code

function _language_resolved_path($new_path = NULL) {
  $path =& drupal_static(__FUNCTION__, NULL);
  if ($new_path === NULL) {
    return $path;
  }
  $path = $new_path;
  return $path;
}