You are here

function hook_node_import_types_alter in Node import 6

Change the list of available content types.

Parameters

$types: Array of content types as returned by hook_node_import_types().

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 86
Explanation of the Node import hooks.

Code

function hook_node_import_types_alter(&$types) {
}