Implements hook_flush_caches().
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', ); }