You are here

function hook_node_export_alter in Node export 6.3

Same name and namespace in other branches
  1. 7.3 node_export.api.php \hook_node_export_alter()

Manipulate node array before export or import.

The purpose of this is to allow a module to check nodes in the array for two or more nodes that must retain a relationship, and to add/remove other data to the array to assist with maintaining dependencies, relationships, references, and additional data required by the nodes.

Parameters

&$nodes: The array of nodes to alter.

$op: 'import', 'after import', or 'export'.

$format: The format of node code being used.

2 functions implement hook_node_export_alter()

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

node_export_features_node_export_alter in modules/node_export_features/node_export_features.module
Implements hook_node_export_alter().
node_export_relation_node_export_alter in modules/node_export_relation/node_export_relation.module
Implementation of hook_node_export_alter().

File

./node_export.api.php, line 86
Documents Node export's hooks for api reference.

Code

function hook_node_export_alter(&$nodes, $op, $format) {

  // no example code
}