function hosting_node_view in Hosting 7.4
Same name and namespace in other branches
- 7.3 hosting.module \hosting_node_view()
Implements hook_node_view().
See also
File
- ./
hosting.module, line 406 - Hosting module.
Code
function hosting_node_view($node, $view_mode, $langcode) {
// Redispatch through our custom nodeapi implementation.
if ($view_mode == 'teaser') {
hosting_nodeapi($node, 'view', TRUE, FALSE);
}
elseif ($view_mode == 'full') {
hosting_nodeapi($node, 'view', FALSE, TRUE);
}
}