Hijack data before it is sent to a Twig template. This recipe will look for a link at the top of an article and use it to replace the normal link to content on the teaser display. Learn how preprocessing works in Drupal and how you can manipulate data before it is sent to a template.