Score:0

How do I pass a node field variable into a layout builder section template?

cn flag

So far what I understand is I need to start with this:

function mytheme_preprocess_layout__twocol_section

in my .theme file, but I'm not quite sure where to go from there.

For clarification, I have a term reference field on my content type. I'm trying to pass values from the term (specifically, an attached menu) into the layout builder section template so the node displays the correct menu depending on the taxonomy selected.

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.