Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm getting to grips with custom code in D10 after several years of simple development in D7.
What code should you use in the Form Submit function shown below? (In D7 I think it was $form_state['redirect']='pets'; to send the user to the pets Views listing.
I developped a module having as goal to to let's say the basic CRUD operations.
For instance the GET (corresponding to read) is OK, POST (create) is OK and now, for DELETE, I'm face to an error that I've analysed but no reason found yet.