On this page
function field_flush_caches
field_flush_caches()
Implements hook_flush_caches().
Related topics
File
- modules/field/field.module, line 400
- Attach custom data fields to Drupal entities.
Code
function field_flush_caches() {
// Refresh the 'active' status of fields.
field_sync_field_status();
// Request a flush of our cache table.
return array('cache_field');
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!field!field.module/function/field_flush_caches/7.x