Score:0

How to add an attribute to a paragraph button link?

hk flag

I'm trying to reach a variable with the html attributes of a link in a twig file, which is used for a paragraph link.

If I dump the button content, I can't dump anything past the object array.

{{ dump(buttoncontent['#object'] }}

How can I reach whatever variable is storing the attributes and manipulate them?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.