You are here

wizard.theme.inc in Chaos Tool Suite (ctools) 6

Same filename and directory in other branches
  1. 7 includes/wizard.theme.inc

Themable for the wizard tool.

File

includes/wizard.theme.inc
View source
<?php

/**
 * @file
 * Themable for the wizard tool.
 */
function ctools_wizard_theme(&$theme) {
  $theme['ctools_wizard_trail'] = array(
    'arguments' => array(
      'trail',
    ),
    'file' => 'includes/wizard.theme.inc',
  );
}

/**
 * Themable display of the 'breadcrumb' trail to show the order of the
 * forms.
 */
function theme_ctools_wizard_trail($trail) {
  if (!empty($trail)) {
    return '<div class="wizard-trail">' . implode(' » ', $trail) . '</div>';
  }
}

Functions

Namesort descending Description
ctools_wizard_theme @file Themable for the wizard tool.
theme_ctools_wizard_trail Themable display of the 'breadcrumb' trail to show the order of the forms.