You are here

function url_alter_url_outbound_alter in URL alter 6

Implementation of hook_url_outbound_alter().

File

./url_alter.module, line 96

Code

function url_alter_url_outbound_alter(&$path, &$options, $original_path) {
  if (!url_alter_is_disabled() && ($code = variable_get('url_alter_outbound', ''))) {

    // We can not use drupal_eval() here since we need to be able to modify
    // the $path and $options parameters.
    eval($code);
  }
}