How to add taxonomy in drupal; not a vocabulary?

90 Views Asked by At

I am following drupal documentation. In chapter 6.5, they explain how taxonomy is different from vocabulary. In this page it is suggested that on a website, which list farmers and recipes list by them, we should have a taxonomy for the ingredients of recipes:

the farmers market website could use an ingredients taxonomy to classify recipes.

So lets say I have a taxonomy ingredients with its terms as red tomato, green tomato, small tomato, cumin, carrot, eggplant, salt, pepper. Also the documentation mentions:

...a set of terms is known as a vocabulary ...

So in my case red tomato, green tomato and small tomato represent one vocabulary.

In the next documentation page chapter 6.6, it says:

Create an Ingredients vocabulary

No no no, so my question is how do I create an Ingredients taxonomy; not an Ingredients vocabulary? Even in drupal admin panel I see only the option to create vocabulary under structure>taxonomy.

2

There are 2 best solutions below

3
Kien Nguyen On

the farmers market website could use an ingredients taxonomy to classify recipes.

Create an Ingredients vocabulary

Maybe it was a wording error in the Drupal documentation. Actually taxonomy is an entity type, which is already built by Drupal core. So you'll never have to create it. What you need to do is create a vocabulary which is a set of taxonomy terms of the same type used to classify something.

Specifically, in your case, ingredients is a vocabulary, and red tomato, green tomato, small tomato,... are taxonomy terms

0
amjad1233 On

In English, a term can have different meaning based on perspective, with that said, the Drupal meaning of taxonomy is as follow.

Taxonomy = vocabularies containing terms.

Ingredients taxonomy = Ingredients Vocabulary (containing) -> Red Tomato, Cumin......

Mostly the way you classify your information.

Please refer to this https://drupalize.me/topic/taxonomy a reupdated source for Drupal topics.