You are here

function content_alter in Content Construction Kit (CCK) 6

Same name and namespace in other branches
  1. 6.3 content.module \content_alter()
  2. 6.2 content.module \content_alter()

Nodeapi 'alter' op.

Add back the formatted values in the 'view' element for all fields, so that node templates can use it.

2 calls to content_alter()
content_nodeapi in ./content.module
Implementation of hook_nodeapi().
content_token_values in includes/content.token.inc

File

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

Code

function content_alter(&$node, $teaser = FALSE, $page = FALSE) {
  _content_field_invoke_default('alter', $node, $teaser, $page);
}