- Issue created by @dnt
If a field name contains a character that is not allowed in (Twig) variable names it will result in an assertion error if evaluating assert()
is not disabled. Otherwise it is available, but not usable as token.
See https://www.drupal.org/project/drupal/issues/3473064 🐛 Assertion error if field name could not be used as variable name Active .
Create a view that is connected to an entity with a :
in the field name.
Normalize field names by replacing any not allowed character with __
and log a warning in case of a duplicate. (Duplicates are not to be expected, though.)
Active
2.1
Code