template_preprocess_link_formatter_link_separate(&$variables)
Prepares variables for separated link field templates.
This template outputs a separate title and link.
Default template: link-formatter-link-separate.html.twig.
array $variables: An associative array containing:
function template_preprocess_link_formatter_link_separate(&$variables) { $variables['link'] = \Drupal::l($variables['url_title'], $variables['url']); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!link!link.module/function/template_preprocess_link_formatter_link_separate/8.1.x