File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
99## [ Unreleased]
1010
11- ## [ 0.2.0 ] - 2024-12-13
11+ ## [ 0.1.3 ] - 2024-12-13
1212
1313- Added queue logic to enhance performance.
1414
@@ -40,8 +40,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4040- First version of the module
4141- Added submodule to log user CUD events.
4242
43- [ Unreleased ] : https://github.com/OS2web/os2web_audit/compare/0.2.0 ...HEAD
44- [ 0.2.0 ] : https://github.com/OS2web/os2web_audit/compare/0.1.2...0.2.0
43+ [ Unreleased ] : https://github.com/OS2web/os2web_audit/compare/0.1.3 ...HEAD
44+ [ 0.1.3 ] : https://github.com/OS2web/os2web_audit/compare/0.1.2...0.1.3
4545[ 0.1.2 ] : https://github.com/OS2web/os2web_audit/compare/0.1.1...0.1.2
4646[ 0.1.1 ] : https://github.com/OS2web/os2web_audit/compare/0.1.0...0.1.1
4747[ 0.1.0 ] : https://github.com/OS2web/os2web_audit/compare/0.0.3...0.1.0
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * @file
5+ * Install file for OS2Web Audit module.
6+ */
7+
8+ use Symfony\Component\Yaml\Yaml;
9+
10+ /**
11+ * Implements hook_update_N().
12+ *
13+ * Ensure queue config is installed.
14+ */
15+ function os2web_audit_update_103001(): void {
16+ $config_id = 'advancedqueue.advancedqueue_queue.os2web_audit';
17+ $config_path = \Drupal::service('extension.list.module')->getPath('os2web_audit') . '/config/install/' . $config_id . '.yml';
18+ $data = Yaml::parseFile($config_path);
19+ \Drupal::configFactory()->getEditable($config_id)->setData($data)->save(TRUE);
20+ }
You can’t perform that action at this time.
0 commit comments