You are here

function content_submit in Content Construction Kit (CCK) 5

Submit form callback for node type fields.

At submit time, the widget does whatever data massaging is necessary so that the field has the content in the expected format and can commit the changes to the database.

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

File

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

Code

function content_submit(&$node) {
  _content_widget_invoke('submit', $node);
  _content_widget_invoke('process form values', $node);
  _content_field_invoke('submit', $node);
  _content_field_invoke_default('submit', $node);
}