Taxonomy unique

Component ID

2135763

Component name

Taxonomy unique

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

9492

Component created

Component changed

Component body

Overview

Taxonomy unique prohibits saving a taxonomy term when a term with the same name exists in the same vocabulary. You can configure it individually for each vocabulary, and you can set custom error messages if a duplicate is found.

8.x-2.0

This is a complete rewrite of this module, it now uses constraints instead of form validation. This means terms now get checked for uniqueness whenever they are saved (REST, migrations, in code ...), not only when using the administration pages.

Features

  • Ensures that term names are unique
  • Configurable individually for each vocabulary
  • Set custom error messages if a duplicate is found

Credits

This module is sponsored by KEY-TEC, a Drupalshop from Munich, Germany.

Similar projects

Taxonomy dupecheck is quite similar in functionality, but doesn't allow to validate only certain vocabularies. Also, you can't set your own error messages.