function field_cache_clear
7.x field.module | field_cache_clear() |
Clear the field info and field data caches.
Related topics
17 calls to field_cache_clear()
- DrupalWebTestCase::tearDown in drupal-7.x/
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 drupal-7.x/
modules/ field/ tests/ field.test - Tests insert and update with missing or NULL fields.
- FieldAttachStorageTestCase::testFieldAttachSaveMissingDataDefaultValue in drupal-7.x/
modules/ field/ tests/ field.test - Test insert with missing or NULL fields, with default value.
- FieldFormTestCase::testNestedFieldForm in drupal-7.x/
modules/ field/ tests/ field.test - Tests Field API form integration within a subform.
- FieldInfoTestCase::testFieldPrepare in drupal-7.x/
modules/ field/ tests/ field.test - Test that cached field definitions are ready for current runtime context.
File
- drupal-7.x/
modules/ field/ field.module, line 740 - Attach custom data fields to Drupal entities.
Code
function field_cache_clear() {
cache_clear_all('*', 'cache_field', TRUE);
field_info_cache_clear();
}