You are here

function url_alter_url_inbound_alter in URL alter 6

Implementation of hook_url_inbound_alter().

File

./url_alter.module, line 69

Code

function url_alter_url_inbound_alter(&$result, $path, $path_language) {
  if (!url_alter_is_disabled() && ($code = variable_get('url_alter_inbound', ''))) {

    // We can not use drupal_eval() here since we need to be able to modify
    // the $result parameter.
    eval($code);
  }
}