Drupal is a registered trademark of Dries Buytaert
Menu Per Role 8.x-1.9 Minor update available for module menu_per_role (8.x-1.9). Google API PHP Client 8.x-4.8 Minor update available for module google_api_client (8.x-4.8). GEO Starter JSON-LD 1.1.1 Minor update available for module geo_starter_jsonld (1.1.1). SQLite VDB Provider 1.4.0 Minor update available for module ai_vdb_provider_sqlite (1.4.0). SQLite VDB Provider 1.3.0 Minor update available for module ai_vdb_provider_sqlite (1.3.0). Burndown 1.0.70 Minor update available for module burndown (1.0.70). Webform MailerLite integration 1.0.4 Minor update available for module webform_mailerlite (1.0.4). Select Icons 2.1.0 Minor update available for module select_icons (2.1.0). Menu Per Role 2.0.0 Module menu_per_role updated after 7 months of inactivity (2.0.0). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Error Squelch

1 sites Security covered
View on drupal.org

This module hides Drupal status, warning, and error messages based on configured patterns, reducing visual clutter from persistent or noisy notifications. It allows for substring or regular expression matching, with optional logging of suppressed messages and Drush commands for management. The module provides a test mode to verify its functionality.

Suppresses Drupal status, warning, and error messages whose text matches configured patterns. Useful for hiding persistent test-mode notices, CI/CD log noise, and chatty third-party module warnings that clutter screenshots, training videos, and on-call dashboards.

What it does

Filters $variables['message_list'] at hook_preprocess_status_messages() against an admin-configured list of patterns (substring or PHP regex). Matched messages are removed before the status messages template renders. Suppression is purely cosmetic; the underlying cause of any message is not addressed.

Key features

  • Substring match (case-insensitive, default) or PHP regex with delimiters
  • Optional logging of suppressed messages to the error_squelch channel for audit trails
  • Drush commands for managing patterns from the CLI: drush error-squelch:list / add / remove (aliases esl / esa / esrm)
  • Test mode injects a known status message visible only to users with the Administer Error Squelch permission, so operators can verify the filter is working before deploying patterns to production
  • Modern Drupal patterns: OO hooks via #[Hook], #config_target throughout the form, Drush 12+ command layout

When to use it

Reduce noise from known-benign messages while a proper fix is pending: a payment gateway's hardcoded "running in test mode" notice, missing-file warnings during an in-progress media sync, chatty contrib modules with unhelpful defaults. Not a substitute for fixing the underlying issue; the suppressed message is gone but the condition that triggered it isn't.

Requirements

  • Drupal 10.3 or later, or Drupal 11
  • No additional modules required
  • Drush 11 or later (optional, only for the CLI commands)

What's next

Error Squelch is now covered by the Drupal Security Advisory policy.
Vulnerability reports go to [email protected]; see
the
Drupal Security Team procedures
for the disclosure process. Do not
report security issues through the public issue queue.

No further behavioural changes are planned for the 1.0.x line; future
work will track Drupal core compatibility and any reported bugs.

Activity

Total releases
7
First release
Apr 2026
Latest release
2 months ago
Releases (12 mo)
7 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.0 Stable Apr 30, 2026
1.0.0-rc1 Pre-release Apr 26, 2026
1.0.0-beta1 Pre-release Apr 22, 2026
1.0.0-alpha3 Pre-release Apr 22, 2026
1.0.0-alpha2 Pre-release Apr 21, 2026
1.0.0-alpha1 Pre-release Apr 20, 2026
1.0.x-dev Dev Apr 20, 2026