Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mixin for 5.50+, add shim for < 5.50 #26

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

colemanw
Copy link
Contributor

@colemanw colemanw commented Apr 26, 2022

As of CiviCRM 5.50, Afform entities are no longer loaded automatically by file-scanning, but via an event.
A new mixin is provided to automatically load entities, which maintains continuity with the old behavior.
This PR switches to using the mixin, and to prevent errors it provides an empty shim for older versions of core that do not have (and do not need) the mixin.

See civicrm/civicrm-core#23303

@colemanw
Copy link
Contributor Author

@eileenmcnaughton if you know of any other extensions which provide Afform entities, they'll also need this patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants