function hansel_export_import_form in Hansel breadcrumbs 7
Same name and namespace in other branches
- 8 export/hansel_export.module \hansel_export_import_form()
Form for importing new configuration.
1 string reference to 'hansel_export_import_form'
- hansel_export_menu in export/
hansel_export.module - Implements hook_menu().
File
- export/
hansel_export.module, line 101
Code
function hansel_export_import_form($form_state) {
$form = array();
$form['config'] = array(
'#type' => 'textarea',
'#title' => t('Hansel configuration'),
'#rows' => 15,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Import'),
);
return $form;
}