Move EventPlatformHeaderCtaBlock::determineEvent() to a service

Created on 23 May 2025, 11 days ago

Problem/Motivation

The determineEvent() method in the EventPlatformHeaderCtaBlock class is effective for identifying the appropriate event term based on the current method. We need to use this logic other places, however, so we should move this to a service so it can be reused without duplicating the code.

Proposed resolution

Create a new EventHelper service class, and move in the determineEvent() method. Update EventPlatformHeaderCtaBlock to use the service.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada mandclu

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024