Aimeos\Shop\Controller\JqadmController::createAction PHP Method

createAction() public method

Returns the HTML code for a new resource object
public createAction ( ) : string
return string Generated output
    public function createAction()
    {
        if (config('shop.authorize', true)) {
            $this->authorize('admin', [['admin', 'editor']]);
        }
        $cntl = $this->createClient();
        return $this->getHtml($cntl->create());
    }