1. drupal
    1. 8
    2. 7
7 – 8 field_cache_clear()

Clear the field info and field data caches.

Related topics

▾ 18 functions call field_cache_clear()

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.
FieldInfoTestCase::testFieldPrepare in modules/field/tests/field.test
Test that cached field definitions are ready for current runtime context.
FieldInfoTestCase::testInstancePrepare in modules/field/tests/field.test
Test that cached instance definitions are ready for current runtime context.
field_attach_create_bundle in modules/field/
Notify field.module that a new bundle was created.
field_attach_delete_bundle in modules/field/
Notify field.module the a bundle was deleted.
field_attach_rename_bundle in modules/field/
Notify field.module that a bundle was renamed.
field_create_field in modules/field/
Creates a field.
field_create_instance in modules/field/
Creates an instance of a field, binding it to a bundle.
field_delete_field in modules/field/
Marks a field and its instances and data for deletion.
field_delete_instance in modules/field/
Marks a field instance and its data for deletion.
field_update_field in modules/field/
Updates a field.
field_update_instance in modules/field/
Updates an instance of a field.
text_filter_format_disable in modules/field/modules/text/text.module
Implements hook_filter_format_disable().
text_filter_format_update in modules/field/modules/text/text.module
Implements hook_filter_format_update().
UpgradePathTestCase::tearDown in modules/simpletest/tests/upgrade/upgrade.test
Override of DrupalWebTestCase::tearDown() specialized for upgrade testing.


modules/field/field.module, line 774

function field_cache_clear() {
  cache_clear_all('*', 'cache_field', TRUE);