public function WebP::defaultConfiguration in ImageAPI Optimize WebP 8
Same name and namespace in other branches
- 2.x src/Plugin/ImageAPIOptimizeProcessor/WebP.php \Drupal\imageapi_optimize_webp\Plugin\ImageAPIOptimizeProcessor\WebP::defaultConfiguration()
File
- src/
Plugin/ ImageAPIOptimizeProcessor/ WebP.php, line 38
Class
- WebP
- Plugin annotation @ImageAPIOptimizeProcessor( id = "imageapi_optimize_webp", label = @Translation("WebP Deriver"), description = @Translation("Clone image to WebP") )
Namespace
Drupal\imageapi_optimize_webp\Plugin\ImageAPIOptimizeProcessorCode
public function defaultConfiguration() {
return [
'quality' => 75,
];
}