I'm creating a Drupal installation profile(drupal 6) and want to create taxonomy vocabularies and terms. How to create taxonomy vocabularies and terms in installation profile?

1 Answer 1


'Terms' are data, so you must import them using the Migrate module or Feeds module.

It's easy to create 'vocabularies', not programmatically but using a Feature and then enable it with you installation profile.

But if you want programmatically here is a good article that describes how to create Taxonomies vocabularies and terms programmatically.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.