function hook_node_import_options_alter in Node import 6
Change the FAPI elements to set the options for each field.
Parameters
$form: The form array to change.
$type: String. The content type as returned as a key by hook_node_import_types().
$options: Array of the currently filled in values for the options page.
$fields: Array of fields available for this type.
$map: Array of how the file columns are mapped to the fields.
Return value
Just like with any Drupal drupal_alter() hook, you need to change the array passed to this function directly and not return anything.
Related topics
File
- ./
node_import.api.php, line 446 - Explanation of the Node import hooks.
Code
function hook_node_import_options_alter(&$form, $type, $options, $fields, $map) {
}