function content_update in Content Construction Kit (CCK) 6
Same name and namespace in other branches
- 5 content.module \content_update()
- 6.3 content.module \content_update()
- 6.2 content.module \content_update()
Nodeapi 'update' op.
Update node type fields.
1 call to content_update()
- content_nodeapi in ./
content.module - Implementation of hook_nodeapi().
File
- ./
content.module, line 295 - 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());
}