I am looking for a module to add a new column "Region" to select the position of the fields (right, left...) in the Manage display. I was working some time ago on a web made with Drupal 7 and I could see that there was a column like this. There were four columns: Field, Region, Label and Format. How could I add this column?
I have more than 20 content entity types that I need to perform some alterations on field values at the time of form submission (or thereafter). Of course, I'd prefer to do this with a built in event but I can't find a D9 event that really applies to this case. From a resource/memory/speed standpoint is it better to implement 20+ different hook_FORM_ID_alter's, one for each content type, or use the generic hook_form_alter and have a big switch/if statement that calls different methods/classes, etc, for each content type?
I have a form with the id of node_contact_edit_form. On this form it has an image field that has the default Drupal choose file button. I would like to disable/hide the button and only allow the users to pick the images from a folder I have on the server. I have tried hooks like form_node_contact_edit_form_alter but can't figure out how to target the button only. Anyone have some ideas?