Answer the question
In order to leave comments, you need to log in
How to convert textbox to dictionary in drupal 7?
There are many nodes with a field of type "text". There is a task to convert the data of this field into dictionary terms and save it side by side in a field with the "link to term" type.
Tell me how to do this?
Answer the question
In order to leave comments, you need to log in
Write an update function in which, using a query, get all the values of the current field and save them as a taxonomy, save the resulting tid in the "link to term" field of the node.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question