1. I try to get Key of a list(text) field in code field (Display Suite) but I get only option labels
  2. What about suffix and prefixes, token returns value without them

Comments

Jarviss’s picture

Issue summary: View changes

add

ultrabob’s picture

Issue summary: View changes

I'm also trying to figure out how to get the key for a list field with tokens. Is this possible?

silverham’s picture

Using the token: (where field_myfield is a taxonomy field), seems to work on Drupal 9
[node:field_myfield:entity:field_list:value]