ADAComply PDF Connector connects a Drupal site to an ADAComply dashboard. ADAComply makes PDF files accessible (tags, reading order, alternative text, language, title). This module puts each fixed PDF back in place of the original file, at the same URL, so existing links keep working.
Features
- Replaces the bytes of a managed public PDF file in place. The file URL, file ID and every link to it stay the same.
- Keeps a backup of each original PDF before the first replacement (in
private://when a private file path is set). An administrator can restore any original from the module's settings page. - Lists all public PDF files in a signed, expiring list for the ADAComply crawler, so PDFs that no page links to are found too. The list is never part of the public sitemap.
- Clears the cache tags of the file and of the entities that use it, and calls
hook_adacomply_pdf_connector_file_replaced()so a site can purge its CDN.
Security
- Every delivery is signed with HMAC-SHA256 and a shared secret. Deliveries older than 5 minutes, and repeated deliveries, are refused.
- The download link must be https and resolve to public IP addresses only. The checked address is pinned for the download, and each redirect is checked again.
- The ADAComply API key is used once, to connect, and is never stored. The shared secret is kept in State, not in exported configuration.
- Only users with the restricted permission "Administer ADAComply PDF Connector" can connect, disconnect or restore files.
Requirements
- Drupal 10.3 or 11, PHP 8.1 or later, the core File module.
- PDF files stored on the local public file system. Files on remote storage such as S3 are reported as not replaceable.
- An ADAComply account and API key. ADAComply is a paid service.
Installation and configuration
- Install the module as usual and enable it.
- Set
$settings['file_private_path']in settings.php (strongly advised), so backups are not under the public files folder. - Go to Configuration > Media > ADAComply PDF Connector, paste the ADAComply API key and click Connect.
- If a firewall or CDN (for example Cloudflare) is in front of the site, allow requests to
/adacomply/v1/*, and purge cached PDFs after they are replaced.
Drupal 10–11
PHP 8.1
Ask your assistant about ADAComply PDF Connector
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
- file Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 10–11 | PHP 8.1 | Dec 3, 2026 |