Using the getOption()
function in a twig template fails to get the attribute if placed after the link()
function in the template.
works
{{ item.url.getOption('attributes').title }}
{{ link(item.title, item.url) }}
does not work
{{ link(item.title, item.url) }}
{{ item.url.getOption('attributes').title }}
Active
11.0 🔥
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.