1 color.module color_url_outbound_alter(&$path, &$options, $original_path)

Implements hook_url_outbound_alter().

File

core/modules/color/color.module, line 301
Allows users to change the color scheme of themes.

Code

function color_url_outbound_alter(&$path, &$options, $original_path) {
  $preview = &backdrop_static(__FUNCTION__);
  if (!isset($preview)) {
    $preview = _color_preview_theme();
  }

  if ($preview) {
    $options['query']['preview'] = $preview;
  }
}