Implement hook_modules_installed to enable Klaro services when needed

Created on 4 December 2024, 18 days ago

Problem/Motivation

As Klaro! gains traction, there will be a lot of services in the portfolio, which is great. As the consent management should only show relevant services to the end user, most of those services should be disabled by default and only enabled, when needed.

Now, that raises the question on how to make sure, that the site owner doesn't forget about enabling more services when they eventually install new modules.

While not perfect, the hook_modules_installed could come to help. This could contain a map between known modules and Klaro services. That way, this hook could automatically enable the relevant services in most cases.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024