Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Nodes, comments, taxonomy terms, and users, in the terminology used since Drupal 7, are generally called "entities."
3
votes
Accepted
entity_metadata_wrapper question
The difference between hook_init() and hook_node_update()/hook_node_presave() is that the node is already in progress of being saved when either of the last hooks are invoked.
Notice how the argument …
2
votes
Accepted
Entity Metadata Wrapper Save VS Node Save when invoked from hook_node_insert
Essentially, there really isn't much difference between node_save() and the save() method of the entity metadata wrapper. Neither should however be used to save the node passed in as the argument to h …
0
votes
How to use one field with different settings
You don't specify exactly how the field is used on the User and Node Entities, but I'm assuming a User is able to pick a category of content to like/see/follow/associate with using a Term reference field …
2
votes
How to add "Content type B" from within "Content type A" and then display both together?
Sounds like you could use Inline Entity Form with a reference field on type A to allow adding the type B nodes while viewing it, combined with some access control like Field Permissions. (If I'm not m …