A couple of JS modules requires some module
information, such as the navigationComponent.
Those information were previously added as data
attributes to the main module menu items and then
retrieved by the JS components. This however did no longer
work for third-level modules, introduced in #97135,
since they are not present in the main module menu.
This is now resolved by adding the full module information,
including all modules, as a single data attribute to the
"scaffold-modulemenu" element.
Note: On installing new extensions, which add backend
modules, a complete backend refresh is necessary for
the new modules to be accessible. An automatic refresh will
be added in another patch, since this will also be
required to update the JavaScript import maps.