Timeline for default value for entity reference field
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 17, 2018 at 6:51 | comment | added | Justme | Solved by just replaced "$entity_node->title ($entity_node->nid)"; with $node object which is $node = \Drupal\node\Entity\Node::load($nid); | |
Aug 17, 2018 at 6:49 | comment | added | Justme | I tried "$node->get('title')->value ($node->get('nid')->value)"; but it is not working.. | |
Aug 17, 2018 at 6:45 | comment | added | Justme | Any suggestion how to do this in D8? | |
Dec 31, 2012 at 9:04 | history | answered | Kevin Siji | CC BY-SA 3.0 |