Made changes for ECA 2.0 compatible, but don't know how to test this?

Created on 13 June 2025, 24 days ago

Problem/Motivation

I tried to make it compatible with ECA 2.0 and here are some steps that I followed.

- I downloaded eca_context module from [here](https://git.drupalcode.org/issue/eca_context-3344485) and placed it in /modules/contrib folder and made changes in some files to make it working with eca 2.0
- I have attached the zip folder of eca_context module with all changes that I made.
- I was able enabled this module with ECA 2.0 without any errors and I've shown that, with this module, context can be an action for ECA.
- So, I can able to add the context in the action's template in ECA model but don't know the exact correct use of that context init.

Also, I have tested it by adding the eca 1.1 version, and with that eca_context module was installed without any error but, the functionality works same as it is currently working in eca 2.0 scenarios after my changes in module.

Steps to reproduce

- Add this zip folder in modules/contrib directory in your Drupal ^10.4 project
- Enabled it via drupal UI and now you can see the option to add the context in action via template in your ECA model.

ECA model demo with context

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India Pranali.addweb

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

Comments & Activities

Production build 0.71.5 2024