field.attach.inc
Version 1.59 (checked in on 2009/11/08 at 19:11:56 by webchick)
Field attach API, allowing objects (nodes, users, ...) to be 'fieldable'.
Constants
| Name | Description |
|---|---|
| FIELD_STORAGE_INSERT | Argument for an insert operation. |
| FIELD_STORAGE_UPDATE | Argument for an update operation. |
Functions
| Name | Description |
|---|---|
| field_attach_create_bundle | Notify field.module that a new bundle was created. |
| field_attach_delete | Delete field data for an existing object. This deletes all revisions of field data for the object. |
| field_attach_delete_bundle | Notify field.module the a bundle was deleted. |
| field_attach_delete_revision | Delete field data for a single revision of an existing object. The passed object must have a revision id attribute. |
| field_attach_extra_weight | Retrieve the user-defined weight for a 'pseudo-field' component. |
| field_attach_form | Add form elements for all fields for an object to a form structure. |
| field_attach_form_validate | Perform field validation against form-submitted field values. |
| field_attach_insert | Save field data for a new object. |
| field_attach_load | Load all fields for the most current version of each of a set of objects of a single object type. |
| field_attach_load_revision | Load all fields for a previous version of each of a set of objects of a single object type. |
| field_attach_prepare_translation | Implement hook_node_prepare_translation. |
| field_attach_prepare_view | Allow formatters to act on fieldable objects prior to rendering. |
| field_attach_preprocess | Populate the template variables with the field values available for rendering. |
| field_attach_presave | Perform necessary operations just before fields data get saved. |
| field_attach_query | Retrieve objects matching a given set of conditions. |
| field_attach_query_revisions | Retrieve object revisions matching a given set of conditions. |
| field_attach_rename_bundle | Notify field.module that a bundle was renamed. |
| field_attach_submit | Perform necessary operations on field data submitted by a form. |
| field_attach_update | Save field data for an existing object. |
| field_attach_validate | Perform field validation against the field data in an object. |
| field_attach_view | Generate and return a structured content array tree suitable for drupal_render() for all of the fields on an object. The format of each field's rendered content depends on the display formatter and its settings. |
| _field_invoke | Invoke a field hook. |
| _field_invoke_default | Invoke field.module's version of a field hook. |
| _field_invoke_multiple | Invoke a field hook across fields on multiple objects. |
| _field_invoke_multiple_default | Invoke field.module's version of a field hook on multiple objects. |
