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.
||Stores an instance record in the field configuration database.|
||Act on a field instance being updated.|
||Forbid a field update from occurring.|
||Act on a field being updated.|
||Remove field storage information when a field instance is purged.|
||Remove field storage information when a field record is purged.|
||Remove field storage information when field data is purged.|
||Act on a field record being read from the database.|
||Act on field records being read from the database.|
||Acts when a field instance is being purged.|
||Acts when a field record is being purged.|
||Act on a field instance being deleted.|
||Act on a field being deleted.|
||Act on a field instance being created.|
||Act on a field being created.|
||Validates a field instance.|
||Validates a field configuration.|
||Updates an instance of a field.|
||Updates a field.|
||Reads in field instances that match an array of conditions.|
||Reads a single instance record from the database.|
||Reads in fields that match an array of conditions.|
||Reads a single field record directly from the database.|
||Marks a field instance and its data for deletion.|
||Marks a field and its instances and data for deletion.|
||Provides a list of defaults for instance arrays.|
||Provides a list of default settings for a field.|
||Creates an instance of a field, binding it to a bundle.|
||Creates a field.|