Allow reducing scope for selected modules

Created on 6 September 2021, about 3 years ago
Updated 1 February 2024, 10 months ago

Problem/Motivation

Currently this is an all or nothing situation. Suggest to add setting allowing to specify modules this applies to.

Steps to reproduce

Use this module and see there is no configuration to reduce scope.

Proposed resolution

Allow admin to specify which modules this applies to. Include --all-- option.

Q&D Solution:

function backward_compatibility_system_info_alter(&$info, Extension $file, $type) {
	$oldmodules = ['Cleaner','Guestbooks'];
	if (in_array($info['name'], $oldmodules)) {
		$info['core_incompatible'] = false;
	}
}

Remaining tasks

Implement feature

User interface changes

Settings page for this module to specify the modules this applies to. Either list to select multiple or array to be entered.

API changes

NA

Data model changes

NA

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇳🇱Netherlands mmjvb

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024