{
"#type": "webform_image_file",
"#title": "Photo",
"#required": true,
"#webform": "luxor_amr_sort_it_2026",
"#webform_id": "luxor_amr_sort_it_2026--photo",
"#webform_key": "photo",
"#webform_parent_key": "",
"#webform_parent_flexbox": false,
"#webform_depth": 0,
"#webform_multiple": false,
"#webform_composite": false,
"#admin_title": "Photo",
"#webform_plugin_id": "webform_image_file",
"#webform_managed_file_processed": true,
"#webform_submission": null,
"#access": true,
"#webform_element": true,
"#upload_location": "private://webform/luxor_amr_sort_it_2026/_sid_",
"#upload_validators": {
"FileSizeLimit": {
"fileLimit": 67108864
},
"FileExtension": {
"extensions": "gif jpg jpeg png"
},
"FileNameLength": {
"maxLength": 150,
"messageTooLong": "The file's name exceeds the Webform module's 150 characters limit. Please rename the file and try again."
}
},
"#description": {
"file_upload_help": {
"#theme": "file_upload_help",
"#upload_validators": {
"FileSizeLimit": {
"fileLimit": 67108864
},
"FileExtension": {
"extensions": "gif jpg jpeg png"
},
"FileNameLength": {
"maxLength": 150,
"messageTooLong": "The file's name exceeds the Webform module's 150 characters limit. Please rename the file and try again."
}
},
"#cardinality": 1
}
},
"#_webform_access": true,
"#_webform_states": [],
"#input": true,
"#theme": "file_managed_file",
"#progress_indicator": "throbber",
"#progress_message": null,
"#size": 22,
"#multiple": false,
"#extended": false,
"#accept": null,
"#defaults_loaded": true,
"#parents": [
"photo"
],
"#weight": 0.06,
"#attributes": {
"data-drupal-selector": "edit-photo",
"aria-describedby": "edit-photo--description"
},
"#title_display": "before",
"#description_display": "after",
"#errors": null,
"#id": "edit-photo",
"#name": "photo",
"#value": {
"fids": []
},
"#files": [],
"upload_button": {
"#name": "photo_upload_button",
"#type": "submit",
"#value": "Upload",
"#attributes": {
"class": [
"js-hide"
],
"data-drupal-selector": "edit-photo-upload-button",
"formnovalidate": "formnovalidate"
},
"#validate": [],
"#submit": [
"file_managed_file_submit"
],
"#limit_validation_errors": [
[
"photo"
]
],
"#weight": -5,
"#executes_submit_callback": true,
"#input": true,
"#is_button": true,
"#submit_button": true,
"#defaults_loaded": true,
"#parents": [
"photo",
"upload_button"
],
"#required": false,
"#title_display": "before",
"#description_display": "after",
"#errors": null,
"#id": "edit-photo-upload-button"
},
"remove_button": {
"#name": "photo_remove_button",
"#type": "submit",
"#value": "Remove",
"#validate": [],
"#submit": [
"file_managed_file_submit"
],
"#limit_validation_errors": [
[
"photo"
]
],
"#weight": 1,
"#executes_submit_callback": true,
"#input": true,
"#is_button": true,
"#submit_button": true,
"#defaults_loaded": true,
"#parents": [
"photo",
"remove_button"
],
"#required": false,
"#attributes": {
"data-drupal-selector": "edit-photo-remove-button",
"formnovalidate": "formnovalidate"
},
"#title_display": "before",
"#description_display": "after",
"#errors": null,
"#id": "edit-photo-remove-button"
},
"fids": {
"#type": "hidden",
"#value": [],
"#input": true,
"#theme": "input__hidden",
"#defaults_loaded": true,
"#parents": [
"photo",
"fids"
],
"#weight": 0.002,
"#required": false,
"#attributes": {
"data-drupal-selector": "edit-photo-fids"
},
"#title_display": "before",
"#description_display": "after",
"#errors": null,
"#id": "edit-photo-fids",
"#name": "photo[fids]"
},
"upload": {
"#name": "files[photo]",
"#type": "file",
"#title": "Choose a file",
"#title_display": "invisible",
"#id": "edit-photo-upload",
"#size": 22,
"#multiple": false,
"#weight": -10,
"#error_no_message": true,
"#attributes": {
"aria-describedby": "edit-photo--description",
"data-drupal-selector": "edit-photo-upload"
},
"#input": true,
"#theme": "input__file",
"#defaults_loaded": true,
"#parents": [
"photo",
"upload"
],
"#required": false,
"#description_display": "after",
"#errors": null,
"#value": ""
},
"#label_for": "edit-photo-upload"
}