You are here

function media_styles_style_flush in D7 Media 7

Implements hook_styles_style_flush().

This hook is invoked by the Styles module in Styles 2.x.

See also

media_file_style_flush()

File

./media.module, line 440
Media API

Code

function media_styles_style_flush($style) {

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