Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like to get the field information like on on which field the upload is happening, I am on step 4 and I am getting the information about the file only not about the fields where its going to mapped. Is there a way to find out?
Comments
Comment #1
anbarasan.r CreditAttribution: anbarasan.r commentedI could not find any direct way to do it, so what I did is I have added the form field values through node form alter and got the values in hook_form_file_entity_add_upload_alter.
Comment #2
anbarasan.r CreditAttribution: anbarasan.r commented