field_cache_clear

Versions
7
field_cache_clear()

Clear the field info and field date caches.

Related topics

▾ 12 functions call field_cache_clear()

field_attach_create_bundle in modules/field/field.attach.inc
Notify field.module that a new bundle was created.
field_attach_delete_bundle in modules/field/field.attach.inc
Notify field.module the a bundle was deleted.
field_attach_rename_bundle in modules/field/field.attach.inc
Notify field.module that a bundle was renamed.
field_create_field in modules/field/field.crud.inc
Creates a field.
field_create_instance in modules/field/field.crud.inc
Creates an instance of a field, binding it to a bundle.
field_delete_field in modules/field/field.crud.inc
Marks a field and its instances and data for deletion.
field_delete_instance in modules/field/field.crud.inc
Marks a field instance and its data for deletion.
field_modules_disabled in modules/field/field.module
Implement hook_modules_disabled().
field_modules_enabled in modules/field/field.module
Implement hook_modules_enabled().
field_modules_installed in modules/field/field.module
Implement hook_modules_installed().
field_update_field in modules/field/field.crud.inc
Updates a field.
field_update_instance in modules/field/field.crud.inc
Updates an instance of a field.

Code

modules/field/field.module, line 443

<?php
function field_cache_clear() {
  cache_clear_all('*', 'cache_field', TRUE);
  field_info_cache_clear();
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.