You are here

function hook_node_import_options in Node import 6

List the FAPI elements to set the options for each field.

Use this hook to allow users to set additional options for each of the content fields.

Some field options such as multiple separator and hierachical separator are added automatically.

Parameters

$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

Array of form elements.

Related topics

2 functions implement hook_node_import_options()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

taxonomy_node_import_options in supported/taxonomy.inc
Implementation of hook_node_import_options().
user_node_import_options in supported/user.inc
Implementation of hook_node_import_options().
1 invocation of hook_node_import_options()
node_import_options in ./node_import.inc
Returns a list of options (form elements).

File

./node_import.api.php, line 418
Explanation of the Node import hooks.

Code

function hook_node_import_options($type, $options, $fields, $map) {
}