- Issue created by @N-I
- 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Hello n-i, it must be media:* entity is not accessible in tokens. This field media:field_description is in media entity or in parent paragraph?
I updated logic for getting values from parent entities:
https://www.drupal.org/project/glightbox/issues/3511270 🐛 Allow caption tokens paragraph access if there is a parent paragraph Active This is a media entity field. It is available in tokens. It's just that empty tokens are not removed. Usually empty tokens are removed and the field is not output, but here the field is output with an empty token.
https://drive.google.com/file/d/1kQkr6UpUSY2oOSzH2wWYOIdrefj4QINZ/view?u...
https://drive.google.com/file/d/1hcZdYJTw-eWbBn1qXSLQFJxDbcCjRxM_/view?u...-
levmyshkin →
committed 350758cc on 1.0.x
Issue #3516537 by n-i: Empty tokens
-
levmyshkin →
committed 350758cc on 1.0.x
- 🇷🇸Serbia levmyshkin Novi Sad, Serbia
I found the problem:
* - clear: A boolean flag indicating that tokens should be removed from the * final text if no replacement value can be generated.
It was set as FALSE, I changed it to TRUE and pushed changes in a new release:
https://www.drupal.org/project/glightbox/releases/1.0.15 →