Skip to content

Commit

Permalink
Added auditfiles module to assist content authors to identify anomali…
Browse files Browse the repository at this point in the history
…es with managed files
  • Loading branch information
nicksantamaria committed Feb 23, 2024
1 parent 4b398e7 commit 8f3de0a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions tide_core.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions tide_core.install
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}

0 comments on commit 8f3de0a

Please sign in to comment.