Use the ParentEntityAwareTrait, instead of residing on the workaround configuration "commerce_shipping_method_id"

Created on 12 February 2025, 2 months ago

Problem/Motivation

We originally thought, we don't have access to the parent entity (condition target), but it is actually possible through a trait!
This is the original issue: 🐛 ConditionBase should provide a way to access the target entity the condition applies to Active .

Steps to reproduce

Proposed resolution

Use the ParentEntityAwareTrait + Interface instead.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Grevil

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