1 field.module field_flush_caches()

Implements hook_flush_caches().

Related topics


core/modules/field/field.module, line 379
Attach custom data fields to Backdrop entities.


function field_flush_caches() {
  // Refresh the 'active' status of fields. We only do this if not in
  // maintenance mode to prevent it running during update.php, where the full
  // API of field module may not be available.
  if (!defined('MAINTENANCE_MODE')) {

  // Request a flush of our cache table.
  return array('field');