Timeline for How can I get the path alias from a node ID or node object?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 16, 2020 at 5:33 | comment | added | ̷c̷h̷x̷ | Broiken if installed in a subdir. | |
Oct 21, 2017 at 23:35 | comment | added | Patrick | Much better solution. | |
Mar 9, 2017 at 0:58 | history | undeleted | Kevin | ||
Mar 9, 2017 at 0:57 | comment | added | mpdonadio♦ |
IIRC, the primary difference between this and using the AliasManager, is that this will also ensure that outbound path processors run, while AliasManager just does the alias lookup. You can also get the Url object directly as $node->toUrl() .
|
|
Mar 8, 2017 at 19:10 | history | deleted | Kevin | via Vote | |
Mar 8, 2017 at 19:09 | history | answered | Kevin | CC BY-SA 3.0 |