- Issue created by @wim leers
Experience Builder has a need for versioned properties on a config entity.
For example, for its Component
config entity, the following are immutable properties and hence are not versioned:
id
source
(the ID of a ComponentSource
plugin)source_local_id
(the ID of a component within that source: could be a plugin ID if the source is powered by plugins such as block plugins, could be a config entity ID if it's powered by config entities, could be a URL if it's powered by remotely discovered components, etc.)… but the settings
for each Component
config entity need to be versioned, because it is impossible to automatically and efficiently update millions of existing instances of that Component
config entity to reflect:
link
field type and start using the uri
field type, or vice versa)N/A
Introduce:
VersionedConfigEntityInterface extends ConfigEntityInterface
VersionedConfigEntityBase
with methods to make this easy, with most crucially: ::loadVersion()
, ::createVersion()
and an overridden ::set()
that handles differentlytype: versioned_config_entity
which extends core's existing type: config_entity
Discuss :)
None.
See above.
TBD
TBD
Active
11.0 🔥
configuration entity system