/** * Add additional JavaScript to use the tceform select box * * @return void */ protected function JScode() { $this->t3lib_TCEforms = GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Form\\FormEngine'); $this->t3lib_TCEforms->backPath = $GLOBALS['BACK_PATH']; $js = $this->t3lib_TCEforms->dbFileCon(); $this->taskObject->doc->JScodeArray[] = $js; return $js; }