Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Block Class 3.1.0 — Minor update available for module block_class (3.1.0). Release: Video Embed Field 3.1.1 — Minor update available for module video_embed_field (3.1.1). Release: CKEditor 5 Premium Features 1.8.5 — Minor update available for module ckeditor5_premium_features (1.8.5). Release: Phrase TMS Integration for TMGMT 8.x-1.32 — Minor update available for module tmgmt_memsource (8.x-1.32). Release: Protected Content 10.1.128 — Minor update available for module proc (10.1.128). Release: Update Manager Advanced 8.x-2.3 — Minor update available for module advupdate (8.x-2.3). Release: Update Manager Advanced 8.x-1.6 — Minor update available for module advupdate (8.x-1.6). Release: Protected Content 10.1.127 — Minor update available for module proc (10.1.127). Usage Milestone: Element Class Formatter — Module element_class_formatter crossed 1,000 active installs. Module Revived: Country Block 1.0.5 — Module country_block updated after 7 months of inactivity (1.0.5).

Document Review Check warns editors about stored comments and review marks in PDF and DOCX files uploaded through Drupal Media, without changing the documents.

The result appears next to the file after upload or replacement, before saving the Media item. Checks are enabled separately for each Media type using the core File source. Native Media forms and Media Library are supported.

Features

  • Checks PDF review annotations reachable from the current page tree, including hidden or closed annotations.
  • Checks stored DOCX comments and supported tracked-change markup, including comments still stored after being resolved.
  • Shows a warning when review marks are found, a positive notice when the supported check completes without findings, and a warning when it cannot be completed.
  • Inspects files locally, without changing them or displaying comment text or reviewer names.
  • Caches complete results using the file content, with size and processing limits.

Requirements

Drupal 10.6 or Drupal 11.4 and later releases within those major versions; PHP 8.3 or later with ZIP, XMLReader, PCRE and zlib. Install with Composer to resolve the PHP PDF libraries. No qpdf, Office installation, external document service or paid API is required. The hosting environment must provide the declared PHP extensions.

Post-installation

Enable the module, edit a Media type that uses the core File source, and enable Check documents for comments and tracked changes. Upload a PDF or DOCX using its native file widget or Media Library. The notice is advisory and saving remains available.

Scope and limitations

This is an editorial aid. It does not remove comments, accept revisions, block publication, control file access, prevent indexing or certify that a document contains no hidden information. Public uploads may already be accessible before the Media item is saved.

Supported storage is local public, private or temporary files, up to 10 MiB each. At most four new inspections run per request. Encrypted, malformed, unsupported or excessive inputs receive an incomplete-check notice. Processing budgets are cooperative and do not guarantee a maximum response time. Legacy .doc files, arbitrary file fields, nested attachments and remote storage are outside the initial scope.

Similar projects and how they are different

  • Metadata Sanitizer focuses on removing metadata with ExifTool. Document Review Check reports supported review artifacts and leaves the original file unchanged.
  • File Metadata Cleaner provides metadata inspection and cleaning with format processors. This module focuses on advisory PDF/DOCX review notices in native Media upload workflows.
  • PDF Sanitizer rewrites PDFs with Ghostscript. Document Review Check inspects supported review structures without rewriting the document.
  • MI Preflight describes a broader AI-assisted review and moderation workflow. This module has a narrower scope: local, rule-based PDF/DOCX notices without an external AI service.

Development

The repository includes synthetic regression fixtures, tests for Drupal 10 and 11, and Drupal GitLab CI configuration. AI tools assisted with implementation, testing and documentation. The maintainer reviewed the code and verified its behavior through testing.

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
1
Tracked since
Sep 2026
Latest release
3 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0-rc1 Pre-release 10–11 Sep 30, 2026