Skip to content
Andy's Blog

Andy's Blog

Just another WordPress.com weblog

Category: drupal 8

Posted on July 26, 2016

Show the link title/description in Twig template on Drupal 8

We wanted to actually display the link’s description tag on the page but couldn’t find a way to do it. We were using {{ link(item.title, item.url) }} to render a link but we couldn’t get the title tag to show up in a Twig variable. Eventually with the use of {{ kint(item) }} and searching … Continue reading Show the link title/description in Twig template on Drupal 8

Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Andy's Blog
    • Already have a WordPress.com account? Log in now.
    • Andy's Blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar