Skip to content

Conversation

DieterVanhove
Copy link

Description

Currently, it's not possible to modify the feed attributes in the beforeProcessFeed function. While there is an event triggered EVENT_BEFORE_PROCESS_FEED, it doesn't allow editing of the feed attributes. For my use case, I need the ability to change the existingElements that are later deleted or disabled.

To address this, I’ve introduced a breaking change: the feed now returns an array instead of a FeedModel. This aligns with the pattern used by other events, which also return an array of feed attributes. Additionally, I've added an element key to simplify access to the feed element type you're currently working with.

Please let me know if any adjustments are needed, and I’d appreciate any feedback to help get this merged.

Related issues

#1577

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.

1 participant