PHP code example of druidfi / drush-gdpr-dumper
1. Go to this page and download the library: Download druidfi/drush-gdpr-dumper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
druidfi / drush-gdpr-dumper example snippets
$config['gdpr_dumper.settings']['gdpr_replacements'] = [
'users_field_data' => [ // Table
'name' => [ // Field
'formatter' => 'userName', // Faker formatter
],
],
];
console
drush sql-dump-gdpr > dump.sql
console
drush sql-dump > dump.sql