field.attach.inc

Version 1.78 (checked in on 2010/02/13 at 21:05:31 by dries)

Field attach API, allowing entities (nodes, users, ...) to be 'fieldable'.

Constants

NameDescription
FIELD_STORAGE_INSERTArgument for an insert operation.
FIELD_STORAGE_UPDATEArgument for an update operation.

Functions

NameDescription
field_attach_create_bundleNotify field.module that a new bundle was created.
field_attach_deleteDelete field data for an existing entity. This deletes all revisions of field data for the entity.
field_attach_delete_bundleNotify field.module the a bundle was deleted.
field_attach_delete_revisionDelete field data for a single revision of an existing entity. The passed entity must have a revision id attribute.
field_attach_formAdd form elements for all fields for an entity to a form structure.
field_attach_form_validatePerform field validation against form-submitted field values.
field_attach_insertSave field data for a new entity.
field_attach_loadLoad all fields for the most current version of each of a set of entities of a single entity type.
field_attach_load_revisionLoad all fields for a previous version of each of a set of entities of a single entity type.
field_attach_prepare_translationImplements hook_node_prepare_translation().
field_attach_prepare_viewPrepare field data prior to display.
field_attach_preprocessPopulate the template variables with the field values available for rendering.
field_attach_presavePerform necessary operations just before fields data get saved.
field_attach_queryRetrieve entities matching a given set of conditions.
field_attach_query_revisionsRetrieve entity revisions matching a given set of conditions.
field_attach_rename_bundleNotify field.module that a bundle was renamed.
field_attach_submitPerform necessary operations on field data submitted by a form.
field_attach_updateSave field data for an existing entity.
field_attach_validatePerform field validation against the field data in an entity.
field_attach_viewReturns a renderable array for the fields on an entity.
_field_invokeInvoke a field hook.
_field_invoke_defaultInvoke field.module's version of a field hook.
_field_invoke_multipleInvoke a field hook across fields on multiple entities.
_field_invoke_multiple_defaultInvoke field.module's version of a field hook on multiple entities.