Commit 1ff50d6c authored by travist's avatar travist Committed by japerry

Issue #1401532 by travist: Allow other modules to alter the Wizard trail

parent 29cd23df
......@@ -213,10 +213,13 @@ function ctools_wizard_wrapper(&$form, &$form_state) {
}
$title = l($title, $path[0], $options);
}
$trail[] = '<span class="' . $class . '">' . $title . '</span>';
$trail[$id] = '<span class="' . $class . '">' . $title . '</span>';
}
}
// Allow other modules to alter the trail.
drupal_alter('ctools_wizard_trail', $trail, $form_info);
// Display the trail if instructed to do so.
if (!empty($form_info['show trail'])) {
ctools_add_css('wizard');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment