You are here

function theme_ctools_wizard_trail in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 includes/wizard.theme.inc \theme_ctools_wizard_trail()

Themable display of the 'breadcrumb' trail to show the order of the forms.

1 theme call to theme_ctools_wizard_trail()
ctools_wizard_wrapper in includes/wizard.inc
Provide a wrapper around another form for adding multi-step information.

File

includes/wizard.theme.inc, line 18
Themable for the wizard tool.

Code

function theme_ctools_wizard_trail($vars) {
  if (!empty($vars['trail'])) {
    return '<div class="wizard-trail">' . implode($vars['divider'], $vars['trail']) . '</div>';
  }
}