diff --git a/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php b/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
index cc8e8934f617c707df43c769fe57f8a4886ed0a2..9545f6c45f0b3e4d9af5d2bc90925638eba6fffc 100644
--- a/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
+++ b/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
@@ -372,6 +372,8 @@ class InlineControlContainer extends AbstractContainer
                     'nameForm' => $nameForm,
                     'config' => $config,
                     'customControlConfig' => $customControlConfig,
+                    // Warning: By reference should be used with care here and exists mostly to allow additional $resultArray['requireJsModules']
+                    'resultArray' => &$resultArray,
                 ];
                 $html .= GeneralUtility::callUserFunction($customControlConfig['userFunc'], $parameters, $this);
             }