You are here

function media_field_update_instance in D7 Media 7

Implements hook_field_instance_update().

File

includes/media.fields.inc, line 479
: Provides a "Multimedia asset" field to the fields API

Code

function media_field_update_instance($instance, $prior_instance) {

  // Clear the filter cache when updating instance settings for a media entity.
  if ($instance['entity_type'] == 'media') {
    media_filter_invalidate_caches();
  }
}