public function AdvDef::submitConfigurationForm in Image Optimize Binaries 8
Overrides ImageAPIOptimizeProcessorBinaryBase::submitConfigurationForm
File
- src/
Plugin/ ImageAPIOptimizeProcessor/ AdvDef.php, line 87
Class
- AdvDef
- Uses the AdvDef binary to optimize images.
Namespace
Drupal\imageapi_optimize_binaries\Plugin\ImageAPIOptimizeProcessorCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
parent::submitConfigurationForm($form, $form_state);
$this->configuration['recompress'] = $form_state
->getValue('recompress');
$this->configuration['mode'] = $form_state
->getValue('mode');
}