You are here

function media_image_style_flush in D7 Media 7

Implements hook_image_style_flush().

This hook is invoked by Drupal core when cached image derivatives are no longer valid.

See also

media_styles_style_flush()

media_file_style_flush()

File

./media.module, line 416
Media API

Code

function media_image_style_flush($style) {

  // When a image style is flushed, clear the filter and field caches.
  media_filter_invalidate_caches();
}