Timeline for How to access node field content in a custom module?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 2, 2016 at 13:54 | history | edited | Javier Ugarte | CC BY-SA 3.0 |
added 151 characters in body
|
Mar 2, 2016 at 13:50 | comment | added | Javier Ugarte | Thanks for the suggestion! I'll edit my answer with this function | |
Mar 2, 2016 at 0:29 | comment | added | Juraj Nemec |
It is not recommended to use direct access to fields like this (because of language and other factors). Instead use field_get_items('node', $district, 'field_harzard');
|
|
Mar 1, 2016 at 12:27 | history | answered | Javier Ugarte | CC BY-SA 3.0 |