public function AdvPng::submitConfigurationForm in Image Optimize Binaries 8
Overrides ImageAPIOptimizeProcessorBinaryBase::submitConfigurationForm
File
- src/
Plugin/ ImageAPIOptimizeProcessor/ AdvPng.php, line 87
Class
- AdvPng
- Uses the AdvPng 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');
}