function field_flush_caches

7.x field.module field_flush_caches()

Implements hook_flush_caches().

Related topics

File

drupal-7.x/modules/field/field.module, line 396
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');
}