public function OptiPng::submitConfigurationForm in Image Optimize Binaries 8
Overrides ImageAPIOptimizeProcessorBinaryBase::submitConfigurationForm
File
- src/
Plugin/ ImageAPIOptimizeProcessor/ OptiPng.php, line 88
Class
- OptiPng
- Uses the OptiPng 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['level'] = $form_state
->getValue('level');
$this->configuration['interlace'] = $form_state
->getValue('interlace');
}