The OCA\Files_Sharing::loadAdditionalScripts is still generated from BeforeTemplateRenderedEvent.
We have the choices to Listen to BeforeTemplateRenderedEvent also. But i think the legacy event is still maintained and is more significant (in order to load scripts) than "BeforeTemplate..."
The OCA\Files_Sharing::loadAdditionalScripts is still generated from BeforeTemplateRenderedEvent.
We have the choices to Listen to BeforeTemplateRenderedEvent also. But i think the legacy event is still maintained and is more significant (in order to load scripts) than "BeforeTemplate..."