Timeline for How to programmatically get the NID of the current node
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 4, 2021 at 2:53 | comment | added | Christian | This is the cleanest answer for d8 if looking for a node. | |
Nov 26, 2018 at 17:23 | history | edited | leymannx | CC BY-SA 4.0 |
Highlight code
|
Nov 26, 2018 at 17:10 | comment | added | leymannx | Better wrap the output like shown in drupal.stackexchange.com/a/145826/15055. And also worth to note that this won't work on node preview pages and node revision pages. | |
Nov 26, 2018 at 16:55 | review | Low quality posts | |||
Nov 26, 2018 at 17:00 | |||||
Nov 26, 2018 at 16:40 | review | First posts | |||
Nov 26, 2018 at 17:45 | |||||
Nov 26, 2018 at 16:39 | history | answered | phuang07 | CC BY-SA 4.0 |