Skip to content
Laryn - CEDC.org edited this page Apr 29, 2021 · 1 revision

Welcome to the node_convert wiki!

Useful API calls:

  • node_convert_node_convert($nid, $dest_node_type, $source_fields, $dest_fields, $no_fields_flag, $hook_options = NULL);
  • node_convert_field_convert($nid, $source_field, $dest_field);
  • hook_node_convert_change($data, $op);

Modules can provide additional behavior to execute upon conversion by implementing hook_node_convert_change. See node_convert.api.php for an example.

Clone this wiki locally