mrjmd / pdb

Decoupled Blocks is a Drupal 8 module to simplify integrating javascript frameworks into your site.
https://www.drupal.org/sandbox/mrjmd/2664138
57 stars 14 forks source link

Resolving referenced fields #104

Open adanielyan opened 7 years ago

adanielyan commented 7 years ago

I want to have access to entities referenced by entity_reference or image fields in my react code. However the referenced fields accessible through context only have the target_id but no data from referenced entity. Is there a way to resolve the referenced fields so that they are available in js?