diff --git a/composer.json b/composer.json index d71382b80..15e690a72 100644 --- a/composer.json +++ b/composer.json @@ -10,6 +10,7 @@ "jquery/textcounter": "0.9.1", "drupal/address": "^1.4", "drupal/allowed_formats": "^2.0", + "drupal/auditfiles": "*", "drupal/better_exposed_filters": "^6.0", "drupal/clamav": "2.0.2-rc1", "drupal/config_ignore": "^2.4", diff --git a/tide_core.info.yml b/tide_core.info.yml index 548ab30cc..054cf6400 100644 --- a/tide_core.info.yml +++ b/tide_core.info.yml @@ -6,6 +6,7 @@ core_version_requirement: ^9 || ^10 dependencies: - address:address - allowed_formats:allowed_formats + - auditfiles:auditfiles - better_exposed_filters:better_exposed_filters - ckeditor5_embedded_content:ckeditor5_embedded_content - clamav:clamav diff --git a/tide_core.install b/tide_core.install index 8444e2355..a0d8d5d24 100644 --- a/tide_core.install +++ b/tide_core.install @@ -139,3 +139,10 @@ function tide_core_update_10004() { user_role_revoke_permissions($role, $permissions); } } + +/** + * Enable auditfiles module. + */ +function tide_core_update_10005() { + \Drupal::service('module_installer')->install(['auditfiles']); +} \ No newline at end of file