Unable to enable rules event during hook_update_N, rules_event_invocation_enabled function improvement

Created on 11 April 2024, 7 months ago
Updated 12 April 2024, 7 months ago

Problem/Motivation

I have a simple migration code in the hook_update_N of the custom module.
During content migration, I need to change the content items according to the configured rules (automatically).

Proposed resolution

Improve the rules_event_invocation_enabled function to have the ability to force enable rules invocation even if we're in maintenance mode.

✨ Feature request
Status

Needs work

Version

2.0

Component

Rules Core

Created by

πŸ‡ΊπŸ‡¦Ukraine tibezh

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024