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

deleteAction() public method

Deletes the resource object or a list of resource objects
public deleteAction ( ) : string
return string Generated output
    public function deleteAction()
    {
        if (config('shop.authorize', true)) {
            $this->authorize('admin', [['admin', 'editor']]);
        }
        $cntl = $this->createClient();
        return $this->getHtml($cntl->delete() . $cntl->search());
    }