You are here

function content_field_create in Content Construction Kit (CCK) 5

Create a new field.

Any call to this function *must* be immediately followed by a call to content_field_instance_create(), or the database could be left in an inconsistent state.

Parameters

$properties: An array of properties to load the field with. Valid keys:

  • '' -

Return value

The ID of the newly-created field.

File

./content_crud.inc, line 212
Create/Read/Update/Delete functions for CCK-defined object types.

Code

function content_field_create($properties) {

  // TODO
}