WebformOptionsCustom::setOptions conflicts with WebformEntityTrait::setOptions

Created on 27 February 2024, 4 months ago
Updated 5 April 2024, 3 months ago

Problem/Motivation

There's a protected method in WebformOptionsCustom named setOptions that conflicts if you create an element that inherits from that class and also uses WebformEntityTrait which defines setOptions as static.

Proposed resolution

Rename setOptions protected method in WebformOptionsCustom to something like setCustomOptions

API changes

No changes/impact as it is a protected method.

πŸ“Œ Task
Status

Closed: won't fix

Version

6.2

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain pcambra Spain, πŸ‡ͺπŸ‡Ί

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024