Issue Feature Closed

#28616Revert API Change of CardLayout in Extmgm and transform it into some function calls

Kay Strobach 07/31/11, 17:29 updated 10/02/18, 12:40

Description

The idea of this feature is to revert the change in the extmgm api to have it stable.

To replace the API change (change of the function signature of t3lib_extMgm::addModule) several small static functions should be added:

  • t3lib_extMgm::setModuleJS(name, js)
  • t3lib_extMgm::unsetModuleJS(name,js)
  • t3lib_extMgm::setModuleJSFile(name, js) needs to be called in hook $GLOBALS[‘TYPO3_CONF_VARS’][‘typo3/backend.php’][‘additionalBackendItems’][] as it uses the pagerender to add the js file

Reviews 1