field_sync_field_status() Update the field_config table to indicate that field types and storage types defined by enabled modules are active, and those defined by disabled modules are not active. Read more about field_sync_field_status()