0

I have a field of type "link" named "field_link" in a child paragraph, I'm unable to get this field value in the parent paragraph using the below:

{{content.field_childpara.field_link.0['#url'].value}}

but I can access a field of type "text" from child paragraph in a parent paragraph like below: {{content.field_childpara.field_ctitle.0.value}}

Any help is appreciated

2
  • There is no issue with fields other than type "Link". I could not find any answer and my code is also not working. So seeking some suggestions on accessing "Field of type Link" in parent paragraph Commented Sep 6, 2024 at 14:01
  • Then please check these answers: drupal.stackexchange.com/q/199262/15055 Commented Sep 7, 2024 at 6:26

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.