Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

The Synonyms module enriches Entities with the notion of synonyms.

Synonyms 2.x

Documentation: Synonyms 2.x guide section.

Synonyms 2.x module functionality

  • Support of synonyms through attached fields.
    Any field, for which synonyms behavior implementation exists, can be enabled as source of synonyms.

  • Support of synonyms through the base fields.
    Base fields stored in database (as opposed to being calculated on-the-fly) can be enabled as source of synonyms.

  • Synonyms-friendly list field.

  • Synonyms-friendly Autocomplete and Select widgets
    For entity reference field type.

  • Integration with Core Search.

  • Integration with Core Views.
    • The Synonyms list Views field.
    • The Synonyms-friendly Views filter.
    • The Synonyms-friendly Views contextual filter validator.
  • Integration with Search API.
    The "Synonyms list" field is available inside the Search API "Fields" section automatically when the "Synonyms List Field" sub-module is enabled.

Supported synonyms providers

Module ships with ability to provide synonyms from the following locations:

  • "Text" field type
  • "Taxonomy Term Reference" field type (7.x-1.x)
  • "Entity Reference" field type
  • "Commerce Product Reference" field type (7.x-1.x)
  • "Commerce Price" field type (7.x-1.x)
  • "Number" field type
  • "Float" field type
  • "Decimal" field type
  • "Email" field type (2.x)
  • "Telephone" field type (2.x)
  • Entity properties stored in database

Worth mentioning here: This list is easily extended further by implementing new synonyms providers in your own code.

Synonyms 7.x-1.x

Here is a nice Synonyms (for D7) tutorial.

Granulation within synonyms behavior

In order to achieve greater flexibility, this module introduced additional
granularity into what "synonyms" mean. This granularity is expressed via
"synonyms behavior" idea whatsoever. Then you can enable different synonyms behaviors for different synonyms providers. For example, field "Typos" can be part of autocomplete behavior, while field "Other spellings" can be part of select behavior. Currently the following synonym behaviors are recognized (other modules actually can extend this list):

  • Autocomplete - whether synonyms from this provider should participate in autocomplete suggestions.
  • Select - whether synonyms from this provider should be included in the synonyms friendly select widgets.

Therefore, on the Synonyms configuration page you will get to add/remove certain synonym providers for certain synonym behaviors. Also, each behavior and provider may have its own settings that you get to configure too.

Apart from stated above features, the 7.x-1.x version also has the following:

  • synonyms-friendly autocomplete and select widgets for taxonomy_term_reference and commerce_product_reference (through Synonyms Commerce submodule) fields.
  • integration with Drupal search functionality through Synonyms Search submodule. It enables searching content by synonyms of the terms that the content references. Synonyms Search submodule also integrates with Term Search contributed module in a fashion that allows your terms to be found by their synonyms.
  • integration with Search API. If you include entity synonyms into your Search API search index, your clients will be able to find content with search keywords that contain synonyms and not actual names of entities.
  • Synonyms module provides a Views field for all eligible entities that contains a list of synonyms associated with the entity in question.

Requirements

The Synonyms 7.x-1.x module requires the following modules:

The Synonyms 7.x-1.x module integrates with (but does not require) the following
modules:

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Nov 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Releases

Version Type Core Release date
2.1.4 Stable Aug 7, 2024
2.1.3 Stable Nov 16, 2023