Using a view result as allowed_options in a text(list) field

04/02/2018



I have a set of values that are created in a different node, and I would like to use them as the allowed values for a field in another node. So, I have a view that collect the values and I have a hook_allowed_values function to create the allowed_values list…

قالب وردپرس