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');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
