7.x field.module 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',
  );
}