Habe etwas rumprobiert und eine Lösung gefunden.

Alles wie bisher.

ext_localconf.php
[code]
$GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['kkbaybwBackendImageInWYSIWIG'] = [
'callbackMethod' => 
'KKSoftware\\Kkbaybw\\Controller\\BaseController->imageUploadInWYSIWIG'
];
[/code]

BaseController::imageUploadInWYSIWIG()
[code]
public function imageUploadInWYSIWIG() {
  ...
  return json_encode(['parameter' => $value];
}
[/code]

Also hier einfach die Funktionsargumente weglassen.
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an