RequireJsModuleInterface
In case a widget should provide additional requireJS modules, the widget must implement this interface.
will be removed in TYPO3 v13.0, migrate to JavaScriptInterface instead
Table of Contents
Methods
- getRequireJsModules() : array<int, string>|array<string, string>
- This method returns an array with requireJs modules.
Methods
getRequireJsModules()
This method returns an array with requireJs modules.
public
getRequireJsModules() : array<int, string>|array<string, string>
e.g. [ 'TYPO3/CMS/Backend/Modal', 'TYPO3/CMS/MyExt/FooBar' => 'function(FooBar) { ... }' ]