function hook_mailhandler_post_save in Mailhandler 6
Inform other modules about node/comment being created using Mailhandler.
Modules may implement this hook if they want to process site information by the new known node/comment id just created. This hook is executed while logged in as the author user so avoid to handle administrative tasks as the user may not have enough permissions to do.
Parameters
$node: A complete node/comment object.
$type: String to identify the type of created object
- 'node'
- 'comment'
1 invocation of hook_mailhandler_post_save()
File
- ./
mailhandler.api.php, line 61 - Hooks provided by the Mailhandler module.
Code
function hook_mailhandler_post_save(array &$keys) {
}