New answers tagged

1 vote

Persist query string arguments across all links in a particular menu?

I ended up solving this by building the tree and menu render array and injecting it into the view template in a preprocess function (this is fired for both displays on the view). The key point was ...
user avatar
0 votes

Determine which region a menu block is rendered in

The $variables["content"]["#attributes"] seem not to work anymore in all cases. The attribute tag has to be targeted to the specific content within the block. Hence $variables[&...
user avatar

Top 50 recent answers are included