Skip to content

Commit a86bce7

Browse files
committed
Merge branch 'feature/ensure-queue-is-installed'
2 parents c210f8c + 51c4df3 commit a86bce7

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

os2web_audit.install

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
}

0 commit comments

Comments
 (0)