function gdpr_dump_service in General Data Protection Regulation 7
Helper function to load gdpr dump service.
1 call to gdpr_dump_service()
- drush_gdpr_sql_dump in modules/
gdpr_dump/ gdpr_dump.drush.inc - Command callback for gdpr-sql-dump.
File
- modules/
gdpr_dump/ gdpr_dump.module, line 291 - Module file for the GDPR Sql-Dump module.
Code
function gdpr_dump_service() {
$service =& drupal_static(__FUNCTION__);
if (empty($service)) {
module_load_include('inc', 'gdpr_dump', 'inc/GdprDumpGdprSqlDump');
$service = new GdprDumpGdprSqlDump();
}
return $service;
}