- Issue created by @bibliophileaxe
- Issue was unassigned.
- Status changed to Needs review
about 2 months ago 12:02am 11 May 2024
There are use cases where we may want to unset keys in config entities. For example, when a visibility condition is updated in a block plugin or is removed, we should be able to unset the array key.
Expose Config::clear() as a config action.
Sample action:
actions:
block.block.sample_block:
simple_config_unset:
- visibility.request_path
Sample multiple action:
actions:
block.block.sample_block:
simple_config_unset:
- visibility.request_path
- visibility.entity_bundle.bundles.video
Needs review
11.0
Code