function _current_path

@todo This is a temporary function pending refactoring Drupal to use Symfony's Request object exclusively.

10 calls to _current_path()

File

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

Code

function _current_path($path = NULL) {
  static $current_path = '';
  if (isset($path)) {
    $current_path = $path;
  }
  return $current_path;
}