Conditions
Version 4.0.0-beta.2
June 2, 2023
Changed
ElementConditionField::$conditionTypeis now static, allowingvalueType()to provide a more specific type hint.ElementConditionField::$elementTypeis now static, and required, allowingdisplayName()to return a natively translated label.- Condition fields now provide a Condition object as their value type.
Removed
ElementConditionFieldDatais no longer needed, since Condition fields return anElementConditionInterface-type value, without any wrapper.
Version 4.0.0-beta.1
May 27, 2023
Added
- Initial release!