Hello,

Whether can add conditions to filter reference field?

If i want to display different types of actors, is there any way to do it? whether can add conditions to filter them?

For example, ordinary actor, action actor, comedian, stuntman, They are all reference movie field.

{{ twig_backlink('field_movie') }},this print all actors.

This is just an example, may it needs to filter conditions in other places, rather than print all items.

This result can be made by views, I don't know whether to use this module can improve the performance.

Comments

msn5158 created an issue. See original summary.

msn5158’s picture

Issue summary: View changes
xmacinfo’s picture

Status: Active » Postponed

Currently, this Twig extension does not support adding conditions to filter the referenced field.