You are here

public function AdvDef::defaultConfiguration in Image Optimize Binaries 8

Overrides ImageAPIOptimizeProcessorBinaryBase::defaultConfiguration

File

src/Plugin/ImageAPIOptimizeProcessor/AdvDef.php, line 52

Class

AdvDef
Uses the AdvDef binary to optimize images.

Namespace

Drupal\imageapi_optimize_binaries\Plugin\ImageAPIOptimizeProcessor

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'recompress' => TRUE,
    'mode' => 3,
  ];
}