You are here

function field_flush_caches in Drupal 7

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',
  );
}