public function configAction()
    {
        $response = new Response(
            json_encode($this->container->getParameter('ekyna_core.form_js'))
        );

        $response
            ->setPublic()
            ->setMaxAge(3600*6)
            ->setSharedMaxAge(3600*6)
            ->headers->add(['Content-Type' => 'application/json'])
        ;

        return $response;
    }
public function configAction()
    {
        $response = new Response(
            json_encode($this->container->getParameter('ekyna_core.form_js'))
        );

        $response
            ->setPublic()
            ->setMaxAge(3600*6)
            ->setSharedMaxAge(3600*6)
            ->headers->add(['Content-Type' => 'application/json'])
        ;

        return $response;
    }
public function configAction ( ) { $ response = new Response ( json_encode ( $ this -> container -> getParameter ( 'ekyna_core.form_js' ) ) ) ; $ response -> setPublic ( ) -> setMaxAge ( 3600 * 6 ) -> setSharedMaxAge ( 3600 * 6 ) -> headers -> add ( [ 'Content-Type' => 'application/json' ] ) ; return $ response ; }
Returns the form plugins configuration.

@return Response
Returns the form plugins configuration .