Timeline for How to get parameter from dynamic route in route subscriber
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 6, 2022 at 11:43 | vote | accept | macbert | ||
May 16, 2022 at 10:27 | answer | added | d70rr3s | timeline score: 1 | |
May 16, 2022 at 9:02 | comment | added | macbert | Added some more explanation. I really don't know how to explain it better or even simpler. | |
May 16, 2022 at 9:01 | history | edited | macbert | CC BY-SA 4.0 |
more explanation
|
May 13, 2022 at 20:54 | comment | added | Clive♦ | Route definitions don't contain parameter values, those are only available when a route is built. The literal answer to what I think your question is, is to add a custom access callback for the route (as described here), but there might be a more robust way to solve the problem if you can edit the question to provide some more context | |
May 13, 2022 at 18:46 | comment | added | Jaypan | I still don't see your actual goal, other than trying to solve some coding issue. But why are you even doing this coding? What is your goal for the front-end user? Without knowing what you want the expected behavior to be, we can't tell you where you're going wrong, we can't even tell you if you are on the right track with your approach, or going the entirely wrong direction altogether. There are 10 ways do do anything in Drupal. | |
May 13, 2022 at 17:07 | history | edited | macbert | CC BY-SA 4.0 |
edited body
|
May 13, 2022 at 16:56 | review | Close votes | |||
May 28, 2022 at 3:06 | |||||
May 13, 2022 at 16:51 | history | edited | macbert | CC BY-SA 4.0 |
added 139 characters in body
|
May 13, 2022 at 16:43 | comment | added | macbert | Sorry, thougt it should be clear by reading the code. Will add further details for humans. | |
May 13, 2022 at 16:39 | comment | added | Jaypan | Your post isn't very clear. Who are 'they'? What is 'focus'? What are you trying to do? You've shown some code, but not given the clear goal, or even clearly explained what is not working. You've told us how you're trying to do something, and shown code that does something, but you never explained clearly what the end goal is in human terms. | |
May 13, 2022 at 15:45 | history | asked | macbert | CC BY-SA 4.0 |