Mask User Data

Component ID

2929000

Component name

Mask User Data

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

26

Component created

Component changed

Component body

IMPORTANT: Do not use this module on a production environment.

This module will mask all the current data in your database related to the users. By default it will try to mask the default fields created by Drupal, but this can easily be extended providing a mapping for other fields.

After enabling the module you need to click on another enable checkbox to make sure that the module is not turned on by accident. This setting can be set in settings.php.

It uses the PHP library Faker and each user field or property can map to a Faker function (ie: mail maps to email,
field_phone maps to phoneNumber, etc.). This can be defined in:
* settings.php using $conf['mask_user_data_map_array'] = array(...).
* Via the UI.

Please check the readme.md file for further installation instructions.
Once everything is set up you can run: drush mud

TODO

* Tests.
* Dynamic form to map fields.
* Drupal 8 version.