Introduce an $additional array to allow defining arbitrary properties for conditions

Created on 30 July 2024, about 2 months ago
Updated 13 August 2024, about 1 month ago

Describe your bug or feature request.

Since the switch to attributes for defining CommerceCondition plugins, the "profile_scope" property for the billing / shipping address is now "injected" via a hook_commerce_condition_info_alter() since there is no $profile_scope property defined by the CommerceCondition attribute.

This was a temporary solution, but let's follow the approach from 📌 Convert entity type discovery to PHP attributes RTBC which consists in defining an $additional array which allows arbitrary properties to be defined.

Feature request
Status

Fixed

Version

3.0

Component

Developer experience

Created by

🇮🇱Israel jsacksick

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