field.crud.inc

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

File

modules/field/field.crud.inc

Functions

Name Description
field_create_field Creates a field.
field_create_instance Creates an instance of a field, binding it to a bundle.
field_delete_field Marks a field and its instances and data for deletion.
field_delete_instance Marks a field instance and its data for deletion.
field_purge_batch Purges a batch of deleted Field API data, instances, or fields.
field_purge_data Purges the field data for a single field on a single pseudo-entity.
field_purge_field Purges a field record from the database.
field_purge_instance Purges a field instance record from the database.
field_read_field Reads a single field record directly from the database.
field_read_fields Reads in fields that match an array of conditions.
field_read_instance Reads a single instance record from the database.
field_read_instances Reads in field instances that match an array of conditions.
field_update_field Updates a field.
field_update_instance Updates an instance of a field.
_field_write_instance Stores an instance record in the field configuration database.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!field!field.crud.inc/7.x