- Issue created by @jaramoshu
- 🇪🇸Spain jaramoshu
The $field_type parameter is added to the formFieldConfigEditFormAlter() function.
- 🇪🇸Spain jaramoshu
How to use it?
In my module:/** * Implements hook_form_FORM_ID_alter(). */ function MYMODULE_form_field_config_edit_form_alter(&$form, FormStateInterface $form_state, $form_id) { if (\Drupal::service('module_handler')->moduleExists('upload_image_changer')) { return \Drupal::service('upload_image_changer.hooks')->formFieldConfigEditFormAlter($form, $form_state, $form_id, 'myfield_image'); } }