Active
Project:
Config Revision
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2020 at 01:26 UTC
Updated:
13 Nov 2020 at 01:26 UTC
Jump to comment: Most recent
A potential use case for config revisions is to manage specific configuration types or items on a per-entity basis. For example, if you're using the Group module, you might want a different version of an "entity view display" configuration per group.
This could be either a submodule of Config Revision or a stand-alone project.
There are a couple of core APIs that might apply here: context and condition (condition plugins as used for example in configuring where/when a block is visible). Of these, contexts are probably more flexible. Following the per-group layout builder config example, it could work something like this:
group) context.group context.group context is active, a revision is saved specific to that context. For example, if I edit the entity view display for group 123, the result is saved to a revision that includes a reference to that group.
Comments