Code - Community - Collaboration
Steindom, LLC

Creating vocabularies and taxonomy terms programmatically in Drupal 7

This is a more detailed code tutorial on how to create taxonomy terms programmatically. Doing this is a sort of preliminary thing to creating taxonomy terms and vocabularies per user.

What I was actually trying to do was create a hierarchical vocabulary of terms. In my scenario, I wanted to have a list of parent terms and corresponding children terms. Here's what I did to accomplish this:


Tags: