function ImageStyleEditForm::submitForm
Same name in other branches
- 8.9.x core/modules/image/src/Form/ImageStyleEditForm.php \Drupal\image\Form\ImageStyleEditForm::submitForm()
- 10 core/modules/image/src/Form/ImageStyleEditForm.php \Drupal\image\Form\ImageStyleEditForm::submitForm()
- 11.x core/modules/image/src/Form/ImageStyleEditForm.php \Drupal\image\Form\ImageStyleEditForm::submitForm()
Overrides EntityForm::submitForm
File
-
core/
modules/ image/ src/ Form/ ImageStyleEditForm.php, line 242
Class
- ImageStyleEditForm
- Controller for image style edit form.
Namespace
Drupal\image\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
// Update image effect weights.
if (!$form_state->isValueEmpty('effects')) {
$this->updateEffectWeights($form_state->getValue('effects'));
}
parent::submitForm($form, $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.