field.crud.inc

Version 1.41 (checked in on 2009/10/31 at 16:06:35 by dries)

Field CRUD API, handling field and field instance creation and deletion.

Functions

NameDescription
field_create_fieldCreate a field.
field_create_instanceCreates an instance of a field, binding it to a bundle.
field_delete_fieldMark a field for deletion, including all its instances and all data associated with it.
field_delete_instanceMark a field instance for deletion, including all data associated with it.
field_purge_batchPurge some deleted Field API data, instances, or fields.
field_purge_dataPurge the field data for a single field on a single pseudo-object.
field_purge_fieldPurge a field record from the database.
field_purge_instancePurge a field instance record from the database.
field_read_fieldRead a single field record directly from the database. Generally, you should use the field_info_field() instead.
field_read_fieldsRead in fields that match an array of conditions.
field_read_instanceRead a single instance record directly from the database. Generally, you should use the field_info_instance() instead.
field_read_instancesRead in field instances that match an array of conditions.
_field_write_instanceStore an instance record in the field configuration database.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.