Closed (won't fix)
Project:
Drupal core
Version:
9.3.x-dev
Component:
configuration entity system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Dec 2014 at 13:39 UTC
Updated:
14 Apr 2022 at 09:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bojanz commentedComment #3
larowlanConfig entities aren't magic like content ones, we can use regular property assignment instead of get and set methods
Comment #4
yched commentedTBH, I'm suprised that we have get() / set() on ConfigEntities...
Comment #5
bojanz commented@larowlan
The idea is to have only one way the system sets properties, to be able to intercept and validate the values more easily.
See #2399965: Config entity get() and set() should invoke getters/setters. I can live with this issue not going in, but it feels right so far.
@yched
Yeah, I'd prefer if we didn't, but that ship has sailed I think.
Comment #8
tim.plunkettI don't think this is out-of-scope for 8.0.x, but we need to prove why things can break if we don't do this.
Comment #19
larowlan#8 sounds like we need to demonstrate what this breaks
Comment #20
bojanz commentedWe'd have to ask 2014 me.
Comment #21
larowlan😂