configurable_anonymizer
This module provides a Drush command for anonymizing configured fields in Drupal.
Features
- Configurable field-level data anonymization
- Extensible plugin system for defining anonymizers by field type
- Includes a default plugin that uses Drupal core’s
FieldItemListInterface::generateSampleItemsmethod to anonymize data
Post-Installation
After installation, navigate to /admin/config/development/anonymizer.
Here, you can configure anonymization settings per entity type and bundle,
specifying which fields to anonymize and which plugins to use.
Additional Requirements
- Drush (required)
- No additional dependencies. All functionality relies on Drupal core APIs.
Similar Projects
GDPR
Provides submodules such as Anonymize, GDPR Dump, and GDPR Tasks for entity anonymization.
This module uses FakerPHP to generate anonymized data.
DB Anonymizer Config Generator
Allows you to create configuration files for the external
DB Anonymizer tool.
Entity Sanitizer
Provides Drush commands to sanitize all entity data in a database.
While technically configurable, it does not include a user interface; configuration must be defined manually in YAML files.
It uses custom logic to generate anonymized data and does not provide default implementations, so not all fields are supported out of the box.