Timeline for How do I fetch the values of an entity's field?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 25, 2018 at 21:09 | comment | added | ognockocaten |
Instead of removing all conditions (which will load all nodes - which could be a lot), you presumably would want to use ->exists('field_name') . @see drupalsun.com/zhilevan/2017/01/14/query-drupal-8-entityquery
|
|
Apr 19, 2016 at 16:35 | comment | added | avpaderno♦ | Once you have the node IDs, you can load the full node objects. | |
Jun 19, 2015 at 17:07 | history | edited | avpaderno♦ | CC BY-SA 3.0 |
expanded answer
|
Jun 19, 2015 at 16:59 | history | edited | avpaderno♦ | CC BY-SA 3.0 |
added 163 characters in body
|
Jun 19, 2015 at 12:52 | review | Suggested edits | |||
Jun 19, 2015 at 13:04 | |||||
Jun 19, 2015 at 8:26 | comment | added | Pravin Ajaaz | I think this will return nids of the nodes satisfying the condition but my need is to fetch all the field values in a particular content type. | |
Jun 19, 2015 at 8:22 | history | answered | avpaderno♦ | CC BY-SA 3.0 |