Create, update, and delete Field API fields, bundles, and instances.
Modules use this API, often in hook_install(), to create custom data structures. UI modules will use it to create a user interface.
The Field CRUD API uses Field API data structures.
See Field API for information about the other parts of the Field API.
modules/ field/ field.crud.inc, line 7
- Field CRUD API, handling field and field instance creation and deletion.
||Creates a field.|
||Creates an instance of a field, binding it to a bundle.|
||Provides a list of default settings for a field.|
||Provides a list of defaults for instance arrays.|
||Marks a field and its instances and data for deletion.|
||Marks a field instance and its data for deletion.|
||Reads a single field record directly from the database.|
||Reads in fields that match an array of conditions.|
||Reads a single instance record from the database.|
||Reads in field instances that match an array of conditions.|
||Updates a field.|
||Updates an instance of a field.|
||Validates a field configuration.|
||Validates a field instance.|
||Act on a field being created.|
||Act on a field instance being created.|
||Act on a field being deleted.|
||Act on a field instance being deleted.|
||Acts when a field record is being purged.|
||Acts when a field instance is being purged.|
||Act on field records being read from the database.|
||Act on a field record being read from the database.|
||Remove field storage information when field data is purged.|
||Remove field storage information when a field record is purged.|
||Remove field storage information when a field instance is purged.|
||Act on a field being updated.|
||Forbid a field update from occurring.|
||Act on a field instance being updated.|
||Stores an instance record in the field configuration database.|