You are here

function hosting_node_view in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 hosting.module \hosting_node_view()

Implements hook_node_view().

See also

hook_nodeapi_TYPE_OP()

File

./hosting.module, line 370
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);
  }
}