function hook_google_analytics_counter_update in Google Analytics Counter 7.3
Same name and namespace in other branches
- 8.3 google_analytics_counter.api.php \hook_google_analytics_counter_update()
Informs other modules about which nodes have been updated.
Parameters
array $updated_nids: Associative array with the new pageview total keyed by the nid.
1 invocation of hook_google_analytics_counter_update()
- google_analytics_counter_update_storage in ./
google_analytics_counter_data.inc - Get pageviews for nodes and write them either to the Drupal core table node_counter, or to the google_analytics_counter_storage table. This function is triggered by hook_cron().
File
- ./
google_analytics_counter.api.php, line 45 - Hooks provided by the Google Analytics Counter module.
Code
function hook_google_analytics_counter_update($updated_nids) {
// Do something with the received array of $updated_nids
}