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

added entrify event #13391

Open
wants to merge 4 commits into
base: 5.x
Choose a base branch
from
Open

added entrify event #13391

wants to merge 4 commits into from

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Jul 6, 2023

Description

This PR adds EntrifyEvent, fired at the end of each entrify command (entrify/categories, entrify/global-set, entrify/tags).

(After this is released, a Feed Me PR (work in progress) can be released too.)

Related issues

#1340

@i-just i-just requested a review from a team as a code owner July 6, 2023 13:10
@i-just i-just marked this pull request as draft July 7, 2023 13:02
@i-just i-just marked this pull request as ready for review July 11, 2023 07:54
Copy link
Member

@brandonkelly brandonkelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to have separate EVENT_ENTRIFY_CATEGORIES, EVENT_ENTRIFY_TAGS, and EVENT_ENTRIFY_GLOBAL_SET events, each with their own dedicated event classes, with typed properties for all the associated data (CategoryGroup $categoryGroup, Section $section, EntryType $entryType), etc. And then there’s no need for $elementType.

@i-just i-just requested a review from brandonkelly July 17, 2023 09:14
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