function field_cache_clear in Drupal 7
Clear the field info and field data caches.
Related topics
18 calls to field_cache_clear()
- CommentUninstallTestCase::testCommentUninstall in modules/comment/ comment.test 
- DrupalWebTestCase::tearDown in modules/simpletest/ drupal_web_test_case.php 
- Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
- FieldAttachStorageTestCase::testFieldAttachSaveMissingData in modules/field/ tests/ field.test 
- Tests insert and update with missing or NULL fields.
- FieldAttachStorageTestCase::testFieldAttachSaveMissingDataDefaultValue in modules/field/ tests/ field.test 
- Test insert with missing or NULL fields, with default value.
- FieldFormTestCase::testNestedFieldForm in modules/field/ tests/ field.test 
- Tests Field API form integration within a subform.
File
- modules/field/ field.module, line 744 
- Attach custom data fields to Drupal entities.
Code
function field_cache_clear() {
  cache_clear_all('*', 'cache_field', TRUE);
  field_info_cache_clear();
}