Was reading the code, wanted to understand the types of values that could be fed into
ConfigInspectorController::formatList() as $config_schema.
Traced it back to ConfigInspectorManager::convertConfigElementToList() found it was not quite what I expected....
[ It can also be a object ]
I wanted to document that... found myself fixing up a few other methods in the file.... might as well do it in public :)
Hope this helps.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | interdiff-2.txt | 982 bytes | martin107 |
| #2 | formatList-2.patch | 2.37 KB | martin107 |
| formatList-0.patch | 2.54 KB | martin107 |
Comments
Comment #2
martin107 commentedOh course that parameter should also be array|object
Comment #4
gábor hojtsyThanks, while this is not perfect, what we had before was bad. We can always iterate on this. Thanks!