field_read_fields($params, $include_additional)

Walt Haas's picture

Updated: 

16/02/2016 - 16:56

Read rows selected by $params and $include_additional from the field_config table. If $params include 'entity_type' or 'bundle' the field_config_instance table is joined on the 'id' = 'field_id' columns. Loads and installs the module(s) for the field(s) selected.

Description on api.drupal.org

Called by: 

field_purge_batch(), field_read_field(), field_sql_storage_schema(), field_system_info_alter(), field_ui_field_name_exists(), FieldInfo::getBundleInstances(), FieldInfo::getFieldById(), FieldInfo::getFields(), taxonomy_taxonomy_vocabulary_update(), taxonomy_vocabulary_delete()

Filename: 

modules/field/field.crud.inc

Drupal 7 tags: