You are here

function hook_gathercontent_post_node_save in GatherContent 7.3

Alter node or its fields after it's saved.

You can change all node properties and perform various operations with them after the node is saved in Drupal. Node have node ID while calling this hook. Menu items and meta tags are already saved/created while calling this hook.

Parameters

object $entity: Entity metadata wrapper of node.

$source_values: Source fields representing object in GatherContent.

array $files: Array of files fetched from GatherContent.

1 invocation of hook_gathercontent_post_node_save()
_gathercontent_fetcher in ./gathercontent.module
Helper function for fetching data from GatherContent.

File

./gathercontent.api.php, line 46
Hooks provided by the GatherContent module.

Code

function hook_gathercontent_post_node_save($entity, $source_values, array $files) {
}