function field_cache_clear
Clear the field info and field data caches.
Related topics
19 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
Code
function field_cache_clear() {
cache_clear_all('*', 'cache_field', TRUE);
field_info_cache_clear();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.