Remove toggle function from page tree root element
Since version 9 the root element (the one containing the sitename) can be toggled. This function should be removed since there seems to be no reason for this and it might confuse new editors when this element is closed and they did not see any pages.
[TASK] Remove toggle function from page tree root element
Remove toggle function from root node and set expanded on true if there
is only one node on depth 0. If there is more then 1
(e.g. when using DB Mounts) then keep toggle option.
Tested-by: TYPO3com <email@example.com>
Tested-by: Riccardo De Contardi <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>
Reviewed-by: Tymoteusz Motylewski <email@example.com>
Tested-by: Tymoteusz Motylewski <firstname.lastname@example.org>