Downloads
Release notes
- Function node_export_node_bulk() is removed. The way to do all exports is through node_export() now. All exports are handled as arrays, but imports still support single object import for backwards compatibility.
- Permission 'export bulk nodes' is now 'export nodes'.
- Permission 'export node' is removed - use 'export nodes'.
- API hooks that contained 'node_bulk' in the function name, now do not.
- New hook node_export_node_export for format handler modules.
- Alter hook with 'node_encode' in the name now is 'node_code_encode'.
- Split default node code handling into separate file.
- Split interface functions into separate file.
- Implemented a serialize format as sample case for external export code types. It has the disadvantage of being ugly and unreadable, but the advantage of correctly handling complex classes/objects.
- New hook hook_node_export_import for format handler modules.
- Removed the prepopulate method - now always does what used to be called save-edit. removed $method/$mode from corresponding hooks.
- $code_string is the variable name for the export code string.
- Various other variable names have changed in code.
- Function node_export_import_types_check() now returns array of failed types.
- Added an option to allow user to pick the export format on the day.
- Functions node_export() and node_export_import() now always return an array with a var indicating success/failure and another var for output. It is up to the caller to decide what to do with these. You still have to pass in $msg_t to indicate which function to use for translations.
- Permissions are now checked in node_export() and node_export_import().
- Import functionality now moved to node/add.
- Hooks hook_node_export_node_alter() and hook_node_export() changed slightly.