protected function getJavaScriptFiles()
    {
        $formObject = $this->assetHandlerFactory->getFormObject();

        $javaScriptFiles = $this->getFieldsValidationJavaScriptAssetHandler()
            ->getJavaScriptValidationFiles();

        $conditionProcessor = $this->getConditionProcessor($formObject);

        $javaScriptFiles = array_merge($javaScriptFiles, $conditionProcessor->getJavaScriptFiles());

        return $javaScriptFiles;
    }
protected function getJavaScriptFiles()
    {
        $formObject = $this->assetHandlerFactory->getFormObject();

        $javaScriptFiles = $this->getFieldsValidationJavaScriptAssetHandler()
            ->getJavaScriptValidationFiles();

        $conditionProcessor = $this->getConditionProcessor($formObject);

        $javaScriptFiles = array_merge($javaScriptFiles, $conditionProcessor->getJavaScriptFiles());

        return $javaScriptFiles;
    }
protected function getJavaScriptFiles ( ) { $ formObject = $ this -> assetHandlerFactory -> getFormObject ( ) ; $ javaScriptFiles = $ this -> getFieldsValidationJavaScriptAssetHandler ( ) -> getJavaScriptValidationFiles ( ) ; $ conditionProcessor = $ this -> getConditionProcessor ( $ formObject ) ; $ javaScriptFiles = array_merge ( $ javaScriptFiles , $ conditionProcessor -> getJavaScriptFiles ( ) ) ; return $ javaScriptFiles ; }
Returns the list of JavaScript files which are used for the current form
object.

@return array
Returns the list of JavaScript files which are used for the current form object .