Timeline for Programmatically using values from a loaded entity inside a message
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 7, 2019 at 1:56 | vote | accept | Elie Masaad | ||
Apr 6, 2019 at 15:52 | history | edited | No Sssweat | CC BY-SA 4.0 |
edited title
|
Apr 6, 2019 at 12:47 | answer | added | GiorgosK | timeline score: 2 | |
Apr 6, 2019 at 5:39 | comment | added | GiorgosK | If it returns UID then you should load the user entity to get the name drupal.stackexchange.com/questions/187142/… | |
Apr 5, 2019 at 22:54 | comment | added | Elie Masaad |
@Clive It was because of using the single quote (') so now it is working but the $nodeowner = $values["selected_node_owner"]; is returning the uid instead of the username. Any idea ?
|
|
Apr 5, 2019 at 21:43 | comment | added | Elie Masaad | Mmmm I just copied the code related to the "Push Notification" from the firebase project page. | |
Apr 5, 2019 at 20:10 | comment | added | Clive♦ |
I might be misunderstanding but it looks like you're just using single quotes when you mean to be using double quotes? 'body' => "Hello $nodeowner this is your body message"
|
|
Apr 5, 2019 at 20:09 | history | edited | Elie Masaad | CC BY-SA 4.0 |
edited title
|
Apr 5, 2019 at 17:41 | history | asked | Elie Masaad | CC BY-SA 4.0 |