gdpr_dump.install in General Data Protection Regulation 8
Same filename and directory in other branches
Install file for the gdpr_dump module.
File
modules/gdpr_dump/gdpr_dump.installView source
<?php
/**
* @file
* Install file for the gdpr_dump module.
*/
/**
* Implements hook_requirements().
*/
function gdpr_dump_requirements() {
$requirements = [];
$requirements['gdpr_dump_drush'] = [
'title' => t('GDPR Dump - Drush'),
'value' => t('This module needs Drush 8 to function.'),
'severity' => REQUIREMENT_INFO,
];
return $requirements;
}
/**
* Enable the 'Anonymizer' module.
*/
function gdpr_dump_update_8001() {
/** @var \Drupal\Core\Extension\ModuleInstallerInterface $installer */
$installer = \Drupal::service('module_installer');
$installer
->install([
'anonymizer',
]);
}
Functions
Name | Description |
---|---|
gdpr_dump_requirements | Implements hook_requirements(). |
gdpr_dump_update_8001 | Enable the 'Anonymizer' module. |