By claudiu.cristea on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.1.x
Introduced in version:
9.1.0
Issue links:
Description:
It's possible, now, to deprecate a config schema by adding a deprecated key to the schema definition. The value of this key is the deprecation message.
For instance, in order to deprecate the schema for complex_structure configuration use the deprecated key:
complex_structure:
type: mapping
label: Complex
deprecated: "The 'complex_structure' config schema is deprecated in drupal:9.1.0 and and is removed from drupal:10.0.0. Use the 'complex' config schema instead. See http://drupal.org/node/the-change-notice-nid."
mapping:
key:
type: ...
...
Impacts:
Module developers
Themers
Site templates, recipes and distribution developers