function gdpr_random_word in General Data Protection Regulation 7
Random word generator function.
Deprecated
in Drupal 7.x-1.0-alpha6 and will be removed before 7.x-1.0. Use GdprDumpUtilRandom::word() instead.
File
- modules/
gdpr_dump/ gdpr_dump.module, line 261 - Module file for the GDPR Sql-Dump module.
Code
function gdpr_random_word($length = 8) {
$random = new GdprDumpUtilRandom();
return $random
->word($length);
}