field_cache_clear

  1. drupal
    1. 7
Versions
7 field_cache_clear()

Clear the field info and field data caches.

Related topics

▾ 14 functions call field_cache_clear()

DrupalWebTestCase::tearDown in drupal/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.
field_attach_create_bundle in drupal/modules/field/field.attach.inc
Notify field.module that a new bundle was created.
field_attach_delete_bundle in drupal/modules/field/field.attach.inc
Notify field.module the a bundle was deleted.
field_attach_rename_bundle in drupal/modules/field/field.attach.inc
Notify field.module that a bundle was renamed.
field_create_field in drupal/modules/field/field.crud.inc
Creates a field.
field_create_instance in drupal/modules/field/field.crud.inc
Creates an instance of a field, binding it to a bundle.
field_delete_field in drupal/modules/field/field.crud.inc
Marks a field and its instances and data for deletion.
field_delete_instance in drupal/modules/field/field.crud.inc
Marks a field instance and its data for deletion.
field_modules_disabled in drupal/modules/field/field.module
Implements hook_modules_disabled().
field_modules_enabled in drupal/modules/field/field.module
Implements hook_modules_enabled().
field_update_field in drupal/modules/field/field.crud.inc
Updates a field.
field_update_instance in drupal/modules/field/field.crud.inc
Updates an instance of a field.
text_filter_format_disable in drupal/modules/field/modules/text/text.module
Implements hook_filter_format_disable().
text_filter_format_update in drupal/modules/field/modules/text/text.module
Implements hook_filter_format_update().

Code

drupal/modules/field/field.module, line 743

<?php
function field_cache_clear() {
  cache_clear_all('*', 'cache_field', TRUE);
  field_info_cache_clear();
}
?>