function content_update in Content Construction Kit (CCK) 5
Same name and namespace in other branches
- 6.3 content.module \content_update()
- 6 content.module \content_update()
- 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');
}