function drush_image_flush_single

8.0.x image.inc drush_image_flush_single($style_name)
8.0.x image_7.inc drush_image_flush_single($style_name)
7.x image.inc drush_image_flush_single($style_name)
7.x image_7.inc drush_image_flush_single($style_name)
master image.inc drush_image_flush_single($style_name)
master image_7.inc drush_image_flush_single($style_name)
1 call to drush_image_flush_single()

File

commands/core/drupal/image_7.inc, line 21
Specific functions for a Drupal image handling. drush_include_engine() magically includes either this file or image_X.inc depending on which version of Drupal is in use.

Code

function drush_image_flush_single($style_name) {
  if ($style = image_style_load($style_name)) {
    image_style_flush($style);
    drush_log(dt('Image style !style_name flushed', array('!style_name' => $style_name)), LogLevel::SUCCESS);
  }
}