Configuring taxonomy

Add to Standard shortcuts

Goal

Create a taxonomy vocabulary and add a reference field for that vocabulary to a content entity. See Managing taxonomy for information about taxonomy and Managing content structure for more on content entities.

Who can configure a taxonomy vocabulary?

Users with the Administer vocabularies and terms permission can configure a vocabulary. To add a field in the administrative interface, the core Field UI module must be installed, and you will also need the Administer fields permission for the entity you are adding the field to.

Steps

  1. In the Manage administrative menu, navigate to Structure > Taxonomy.
  2. Click Add vocabulary.
  3. In the Name field, enter a name for the vocabulary (for example "Ingredients"), which is how it will be shown in the administrative interface. Optionally, add a description.
  4. Click Save. Your vocabulary will be created and you will see the page that lists all the terms in this vocabulary.
  5. Optionally, click Add term to add a term to the new vocabulary. In the Name field, enter the term name (for example "Butter"). Click Save. You will receive a confirmation about the term you created. You may optionally continue to add more terms.
  6. If you have the Field UI module installed, follow the instructions on the related Adding a reference field to an entity sub-type topic to add a taxonomy reference field to the entity type of your choice. The settings page will allow you to choose the Vocabulary that you created as the vocabulary to reference.
  7. You may also want to configure the display and form display of the new field (see related topics).

Additional resources

Related topics