1 form_example_wizard.inc | _form_example_steps() |
Returns the list of steps and their associated forms.
This has been separated to clarify and easy the understanding of this example. You should edit this function to include the steps your wizard/multistep form requires.
Return value
array: List of steps and their forms.
Related topics
File
- modules/
examples/ form_example/ form_example_wizard.inc, line 46 - Extensible wizard form example.
Code
function _form_example_steps() {
return array(
1 => array(
'form' => 'form_example_wizard_personal_info',
),
2 => array(
'form' => 'form_example_wizard_location_info',
),
3 => array(
'form' => 'form_example_wizard_other_info',
),
);
}