You are here

function _msnf_steps_label in Multistep Nodeform 6

Same name and namespace in other branches
  1. 7 includes/msnf.steps.inc \_msnf_steps_label()

Provide labels for all steps.

1 call to _msnf_steps_label()
msnf_step_overview_form in includes/msnf.admin.inc
Menu callback; listing of steps for a content type.

File

includes/msnf.steps.inc, line 125

Code

function _msnf_steps_label($content_type) {
  $steps = msnf_steps($content_type);
  $labels[''] = '<' . t('none') . '>';
  foreach ($steps as $step_name => $step) {
    $labels[$step_name] = t($step['label']);
  }
  return $labels;
}