You are here

function nd_preprocess_node in Node displays 6.2

Same name and namespace in other branches
  1. 6.3 nd.module \nd_preprocess_node()
  2. 6 nd.module \nd_preprocess_node()
  3. 7 nd.module \nd_preprocess_node()

Implementation of moduleName_preprocess_hook(). The node data will be rendered in regions. This uses a helper function so themers/developers can call that helper function from within their preprocess_hooks if they are fiddling with some data. For information about this decision see http://drupal.org/node/570592 (issue) and http://drupal.org/node/572614 for information on howto implement.

File

./nd.module, line 288
Node displays.

Code

function nd_preprocess_node(&$vars, $hook) {
  if (!variable_get('nd_preprocess_override', FALSE)) {
    _nd_preprocess_node($vars, $hook);
  }
}