Change svg tree json data to contain icon id instead of content.
Currently svg tree gets the icon content for each node in the JSON data.
Instead just an icon identifier should be passed.
Thanks to that the JSON response will be few times smaller and it will also speed up rendering.
[TASK] Make SVG category tree use JS Icon API
This change make SVG tree expect icon identifier instead of icon source
in JSON node data.
Tree fetches icon source via JS Icon API only once per icon type.
This makes JSON response few times smaller.
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Benni Mack <email@example.com>
Tested-by: Benni Mack <firstname.lastname@example.org>
Reviewed-by: Susanne Moog <email@example.com>
Tested-by: Susanne Moog <firstname.lastname@example.org>