public TwigExtension::safeJoin(\Twig_Environment $env, $value, $glue = '')
Joins several strings together safely.
Parameters
\Twig_Environment $env: A Twig_Environment instance.
mixed[]|\Traversable|null $value: The pieces to join.
string $glue: The delimiter with which to join the string. Defaults to an empty string. This value is expected to be safe for output and user provided data should never be used as a glue.
Return value
string The strings joined together.
File
core/lib/Drupal/Core/Te