Deprecation: #85701 - Various methods in ModuleTemplate

See forge#85701

Description

The methods ModuleTemplate::icons() and ModuleTemplate::loadJavascriptLib() have been marked as deprecated and will be removed in TYPO3 v10.

Impact

Calling one of the mentioned methods will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Third party code which calls the methods mentioned.

Migration

There is no migration for the method ModuleTemplate::icons() available. The method ModuleTemplate::loadJavascriptLib() can be replaced by using PageRenderer directly.