protected function getFormzConfiguration()
    {
        $rootConfigurationArray = $this->getFormObject()
            ->getConfiguration()
            ->getRootConfiguration()
            ->toArray();

        $cleanFormzConfigurationArray = [
            'view' => $rootConfigurationArray['view']
        ];

        return ArrayService::get()->arrayToJavaScriptJson($cleanFormzConfigurationArray);
    }
protected function getFormzConfiguration()
    {
        $rootConfigurationArray = $this->getFormObject()
            ->getConfiguration()
            ->getRootConfiguration()
            ->toArray();

        $cleanFormzConfigurationArray = [
            'view' => $rootConfigurationArray['view']
        ];

        return ArrayService::get()->arrayToJavaScriptJson($cleanFormzConfigurationArray);
    }
protected function getFormzConfiguration ( ) { $ rootConfigurationArray = $ this -> getFormObject ( ) -> getConfiguration ( ) -> getRootConfiguration ( ) -> toArray ( ) ; $ cleanFormzConfigurationArray = [ 'view' => $ rootConfigurationArray [ 'view' ] ] ; return ArrayService :: get ( ) -> arrayToJavaScriptJson ( $ cleanFormzConfigurationArray ) ; }
Returns a JSON array containing the FormZ configuration.

@return string
Returns a JSON array containing the FormZ configuration .