function gdpr_dump_update_8001 in General Data Protection Regulation 8
Same name and namespace in other branches
- 8.2 modules/gdpr_dump/gdpr_dump.install \gdpr_dump_update_8001()
- 3.0.x modules/gdpr_dump/gdpr_dump.install \gdpr_dump_update_8001()
Enable the 'Anonymizer' module.
File
- modules/
gdpr_dump/ gdpr_dump.install, line 25 - Install file for the gdpr_dump module.
Code
function gdpr_dump_update_8001() {
/** @var \Drupal\Core\Extension\ModuleInstallerInterface $installer */
$installer = \Drupal::service('module_installer');
$installer
->install([
'anonymizer',
]);
}