I have read through the following options I found. I am not sure which one to choose, when it comes to suitability for initial import, update convenience, future module support etc. Can you please share your experience to help me make my choice:
This is the only place I use this constant. The reason for using a PHP global const for this is to have it defined near the top of the file for easy spotting and replacement. So having it as a value inside the function is not an option.
Hello there! I am trying to get used to the new way drupal 8/9 does things (I am an avid d7 developer), but having trouble finding proper documentation.
So I am building an invoicing system for a client, and I have two routes setup in my invoicing.routing.yml file, as shown below