You are here

function hook_node_import_values in Node import 6

List the (static) values to use to create the content type.

Parameters

$type: String. The content type as returned as a key by hook_node_import_types().

$defaults: Array of the currently filled in values for the defaults page.

$options: Array of the currently filled in values for the options page.

$fields: Array of fields available for this type.

$preview: Boolean. TRUE if we will create a preview with these values, FALSE if we will create the node with these values.

Return value

Array of values to submit to the form.

Related topics

3 functions implement hook_node_import_values()

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

nodeformsettings_node_import_values in supported/nodeformsettings/nodeformsettings.inc
Implements hook_node_import_values().
node_import_node_import_values in supported/node_import.inc
Implementation of hook_node_import_values().
node_node_import_values in supported/node.inc
Implementation of hook_node_import_values().
1 invocation of hook_node_import_values()
node_import_values in ./node_import.inc
Create an array of values to submit to the form.

File

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

Code

function hook_node_import_values($type, $defaults, $options, $fields, $preview) {
}