Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have content in two languages (entity translation). If I want to use it's field values in PHP, I can access them by code like this:
$node->field_name['en'][0]['value']
or
field_get_items('node', $node, 'field_name', 'en')
But how to access field value in particular language in Rules data selectors? (Rules load only currently active language)
Comments
Comment #1
Honza Pobořil CreditAttribution: Honza Pobořil commentedGenerally, Rules does not handle entity translations correctly. It should be tested for use cases with translated entities.