function RotateImageEffect::submitConfigurationForm
Overrides ConfigurableImageEffectBase::submitConfigurationForm
File
-
core/
modules/ image/ src/ Plugin/ ImageEffect/ RotateImageEffect.php, line 121
Class
- RotateImageEffect
- Rotates an image resource.
Namespace
Drupal\image\Plugin\ImageEffectCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
parent::submitConfigurationForm($form, $form_state);
$this->configuration['degrees'] = $form_state->getValue('degrees');
$this->configuration['bgcolor'] = $form_state->getValue('bgcolor');
$this->configuration['random'] = $form_state->getValue('random');
}