From 168798395bd9211f2babdc664774e7093aafd7b1 Mon Sep 17 00:00:00 2001 From: Sheshagiri <116176241+skanvekar@users.noreply.github.com> Date: Wed, 28 Aug 2024 19:11:43 +0530 Subject: [PATCH 1/3] Update custom-event-fields.md Added details about the custom field data execution time. --- src/pages/events/custom-event-fields.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/events/custom-event-fields.md b/src/pages/events/custom-event-fields.md index 90b689ed..ee4f508a 100644 --- a/src/pages/events/custom-event-fields.md +++ b/src/pages/events/custom-event-fields.md @@ -67,7 +67,8 @@ The processor class must implement `EventDataProcessorInterface`. This interface `public function process(Event $event, array $eventData): array` -You must create a separate class for each field to be added. +You must create a separate class for each field to be added. +processer classes get executed during the `event_data_batch_send` cron execution. In the following example, the `TestProcessorOrderStatus` class adds the `order_status` field and a value to the `eventData` array. From b2a88ed4e42c6876cdc69649952bfbae364e4d3c Mon Sep 17 00:00:00 2001 From: Sheshagiri <116176241+skanvekar@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:33:14 +0530 Subject: [PATCH 2/3] Update custom-event-fields.md --- src/pages/events/custom-event-fields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/events/custom-event-fields.md b/src/pages/events/custom-event-fields.md index ee4f508a..3822732b 100644 --- a/src/pages/events/custom-event-fields.md +++ b/src/pages/events/custom-event-fields.md @@ -68,7 +68,7 @@ The processor class must implement `EventDataProcessorInterface`. This interface `public function process(Event $event, array $eventData): array` You must create a separate class for each field to be added. -processer classes get executed during the `event_data_batch_send` cron execution. +Processor classes are executed during the event_data_batch_send cron job execution. In the following example, the `TestProcessorOrderStatus` class adds the `order_status` field and a value to the `eventData` array. From aeb109720d80aab37363125b486091846c690366 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Fri, 30 Aug 2024 13:44:19 -0500 Subject: [PATCH 3/3] Fix linting error --- src/pages/events/custom-event-fields.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/events/custom-event-fields.md b/src/pages/events/custom-event-fields.md index 3822732b..8f50add8 100644 --- a/src/pages/events/custom-event-fields.md +++ b/src/pages/events/custom-event-fields.md @@ -67,8 +67,8 @@ The processor class must implement `EventDataProcessorInterface`. This interface `public function process(Event $event, array $eventData): array` -You must create a separate class for each field to be added. -Processor classes are executed during the event_data_batch_send cron job execution. +You must create a separate class for each field to be added. +Processor classes are executed during the `event_data_batch_send` cron job execution. In the following example, the `TestProcessorOrderStatus` class adds the `order_status` field and a value to the `eventData` array.