public function CommerceSmartImporerService::flushImageStyleUri in Commerce Smart Importer 8
1 call to CommerceSmartImporerService::flushImageStyleUri()
- CommerceSmartImporerService::createFile in src/Plugin/ CommerceSmartImporerService.php 
- Creates image value based on field settings.
File
- src/Plugin/ CommerceSmartImporerService.php, line 515 
- Main Commerce Smart Importer Service.
Class
- CommerceSmartImporerService
- This is main Commerce Smart Importer Service.
Namespace
Drupal\commerce_smart_importer\PluginCode
public function flushImageStyleUri($uri) {
  $image_styles = ImageStyle::loadMultiple();
  foreach ($image_styles as $image_style) {
    /** @var $image_style \Drupal\image\Entity\ImageStyle */
    $image_style
      ->flush($uri);
  }
}