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.
I'm building a custom module that modifies the main theme (barrio bootstrap in this case) to establish a landing page. In that process, it hides blocks in some regions and takes over rendering the main menu.
When I try to replace the default menu template used by the primary menu, "menu--main.html.twig" with my own template "mymenu--main.html.twig" that is exactly the same, it doesn't render the menu links. It is using my designated template, but for some reason it's not rendering the same.