public function Webp::submitConfigurationForm in WebP 8
File
- src/
Plugin/ ImageAPIOptimizeProcessor/ Webp.php, line 56
Class
- Webp
- Saves a WebP copy of an image style derivative.
Namespace
Drupal\webp\Plugin\ImageAPIOptimizeProcessorCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
parent::submitConfigurationForm($form, $form_state);
$this->configuration['quality'] = $form_state
->getValue('quality');
}