Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Word Monitor

Security covered Maintenance fixes only 131 sites

Word Monitor helps you identify specific words or phrases on your website. It can warn you if outdated terms or other sensitive content appear anywhere on your site.

Allows you to define a list of words or expressions and be warned if one of them appears on your site. For example, if you refer to a website using an outdated name, you can periodically be warned if that name appears anywhere in your site.

Typical usage

  1. install and enable word_monitor.

  2. enable these included modules:

  • word_monitor, which provides basic, behind-the-scenes functionality;
  • word_monitor_search, which integrates word_monitor with core search and searches for entities;
  • word_monitor_status_warning, which will provide a warning on the /admin/reports/status page if a word or expression appears somewhere on your site.
  1. go to /admin/content/word and enter a list of banned words.

  2. you should now see a list of entities containing banned words at /admin/content/word, and if there are any entities in that list, /admin/reports/status will contain a warning.

If you are not seeing entities, you need to make sure the site is completely indexed at /admin/config/search/pages

Extending this module

This module can be extended via the Drupal plugin system. Developers are encouraged to examine the structure of the included word_monitor_search submodule as a basis for their own extensions. Suggestions for more modules are welcome via the Drupal issue queue.

Local development

If you install Docker on your computer:

  • you can set up a complete local development workspace by downloading this codebase and running ./scripts/deploy.sh. To test with Drupal 9, use ./scripts/deploy.sh 9. You do not need a separate Drupal instance. ./scripts/uli.sh will provide you with a login link to your environment.
  • you can destroy your local environment by running ./scripts/destroy.sh.
  • you can run all tests by running ./scripts/ci.sh; please make sure all tests before submitting a patch.

Automated testing

This module’s main page is on Drupal.org; a mirror is kept on GitHub.

Unit tests are performed on Drupal.org’s infrastructure and in GitHub using CircleCI. Linting is performed on GitHub using CircleCI and Drupal.org. For details please see Start unit testing your Drupal and other PHP code today, October 16, 2019, Dcycle Blog.

To run automated tests locally, install Docker and type:

./scripts/ci.sh
Drupal 10–11

Ask your assistant about Word Monitor

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
3
Tracked since
Jun 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
4.0.0 Stable 10–11 Oct 24, 2024
3.0.0-beta2 Pre-release 9–10 PHP 8.x Jun 28, 2023
3.0.0-beta1 Pre-release 9–10 PHP 8.x Jun 27, 2023