Problem/Motivation
At the moment if your custom config entity doesn't implement config_export annotation or config schema you can get an exception when toArray is called. The exception message tells you config schema is missing. But the config schema for determining which properties to export is deprecated so we should fix the message.
Found as part of #3112639: Remove all @deprecated code from config component
Proposed resolution
Improve the message. #3113620: Require `config_export` annotation for config entity types and improve ConfigEntityType::getPropertiesToExport() will handle either improving the class name or removing it entirely.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
N/a
Comment | File | Size | Author |
---|---|---|---|
#2 | 3113633-2.patch | 1.74 KB | alexpott |
Comments
Comment #2
alexpottComment #3
BerdirMakes sense.
Comment #5
Gábor HojtsyComment #8
Gábor HojtsyLooks good. Credited @catch as he suggested this breakout issue. Thanks!