You are here

function content_preprocess_node in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 content.module \content_preprocess_node()

Theme preprocess function for node.

  • Adds $FIELD_NAME_rendered variables containing the themed output for the whole field.
  • Adds the formatted values in the 'view' key of the items.

File

./content.module, line 2429
Allows administrators to associate custom fields to content types.

Code

function content_preprocess_node(&$vars) {
  $additions = _content_field_invoke_default('preprocess_node', $vars['node']);
  $vars = array_merge($vars, $additions);
}