Aimeos\ShopBundle\Controller\JqadmController::copyAction PHP Method

copyAction() public method

Returns the HTML code for a copy of a resource object
public copyAction ( Request $request, string $resource, string $site = 'default' ) : Response
$request Symfony\Component\HttpFoundation\Request Symfony request object
$resource string Resource location, e.g. "product"
$site string Unique site code
return Symfony\Component\HttpFoundation\Response Generated output
    public function copyAction(Request $request, $resource, $site = 'default')
    {
        $cntl = $this->createClient($request, $site, $resource);
        return $this->getHtml($cntl->copy());
    }