function sheetnode_text_import_form in Sheetnode 7.2
Same name and namespace in other branches
- 6 modules/sheetnode_text/sheetnode_text.module \sheetnode_text_import_form()
- 7 modules/sheetnode_text/sheetnode_text.module \sheetnode_text_import_form()
Callback for import form.
1 string reference to 'sheetnode_text_import_form'
- sheetnode_text_menu in modules/
sheetnode_text/ sheetnode_text.module - Implementation of hook_menu().
File
- modules/
sheetnode_text/ sheetnode_text.module, line 27 - Module file for the sheetnode_text module.
Code
function sheetnode_text_import_form() {
$form['title'] = array(
'#type' => 'textfield',
'#title' => t('Title'),
'#description' => t('Spreadsheet title.'),
);
$form['text'] = array(
'#type' => 'textarea',
'#title' => t('Text'),
'#description' => t('Text representation of table to import.'),
'#required' => TRUE,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit'),
);
return $form;
}