You are here

function content_update in Content Construction Kit (CCK) 5

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

Update node type fields.

1 call to content_update()
content_nodeapi in ./content.module
Implementation of hook_nodeapi().

File

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

Code

function content_update(&$node) {
  _content_field_invoke('update', $node);
  _content_field_invoke_default('update', $node);
  cache_clear_all('content:' . $node->nid . ':' . $node->vid, 'cache_content');
}