function image_widget_crop_form_submit in Image Widget Crop 8
Same name and namespace in other branches
- 8.2 image_widget_crop.module \image_widget_crop_form_submit()
Form submission handler for image_widget_crop_form_file_form_alter.
Parameters
array $form: The complete form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
1 string reference to 'image_widget_crop_form_submit'
- image_widget_crop_form_file_form_alter in ./
image_widget_crop.module - Implements hook_form_alter().
File
- ./
image_widget_crop.module, line 199 - Contains image_widget_crop.module.
Code
function image_widget_crop_form_submit(array &$form, FormStateInterface $form_state) {
\Drupal::service('image_widget_crop.manager')
->buildCropToForm($form_state);
}