Follow-up to: #1849480: Allow ConfigEntity classes to control how they are saved
Problem
EntityInterface::getExportProperties()contains "export" and "export" is a veeery ambiguous term, at least within the config entity space.
Goal
- Find a method name that does not conflict with other import/export concepts.
Details
- "export" and "import" carry some (too) huge meaning.
- "serialize" and "normalize" come closest, but are taken by new REST stuff already.
getExportProperties()itself is barely different from the pre-existinggetProperties()method.
Comments
Comment #1
tim.plunkettSo, getProperties() implies you'd return an array of properties, like
But the return of this includes the built values as well. So maybe not properties at all?
Also, as the person who named getExportProperties() (with not much real thought behind it) I'm +1 to renaming it.
Comment #2
yched commentedgetStoredProperties() ? getStoredValues() ?
Comment #2.0
yched commentedUpdated issue summary.
Comment #3
berdirtoArray() happened :)