function shareaholic_node_view in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3
Same name and namespace in other branches
- 8 includes/node.php \shareaholic_node_view()
Implements hook_node_view()
When a node is rendered, insert the content meta tags
File
- includes/
node.php, line 17 - This file is responsible for containing hooks involving nodes
Code
function shareaholic_node_view($node, $view_mode, $langcode) {
ShareaholicPublic::insert_widgets($node, $view_mode, $langcode);
ShareaholicPublic::insert_content_meta_tags($node, $view_mode, $langcode);
ShareaholicPublic::insert_og_tags($node, $view_mode);
}