RequireJsModuleInterface

In case a widget should provide additional requireJS modules, the widget must implement this interface.

Internal

migrate to JavaScriptInstructionInterface in TYPO3 v12.0

Tags
todo

deprecate in TYPO3 v12.0

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) { ... }' ]

Return values
array<int, string>|array<string, string>

        
On this page

Search results