function export_form in Node export 6
Same name and namespace in other branches
- 5.2 export.pages.inc \export_form()
Export Form
2 string references to 'export_form'
- export_node_bulk in ./
export.module - Callback for 'export' node operation.
- export_node_export in ./
export.pages.inc - exports a node - prepopulate a node editing form set $return_code to TRUE to not return form but the code instead.
File
- ./
export.pages.inc, line 93
Code
function export_form($form_state, $code) {
$form = array();
$form['export'] = array(
'#type' => 'textarea',
'#title' => t('Node Code'),
'#default_value' => $code,
'#rows' => 30,
'#description' => t('Copy this code and then on the site you want to import to, go to the Import Node link under Content Management, and paste it in there.'),
'#attributes' => array(
'style' => 'width: 97%;',
),
);
return $form;
}