You are here

function content_update in Content Construction Kit (CCK) 6.3

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

Implementation of hook_nodeapi 'update' op.

Update node type fields.

File

./content.module, line 298
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, content_cache_tablename());
}