Sulu\Bundle\ContentBundle\Controller\NodeResourcelocatorController::deleteAction PHP Метод

deleteAction() публичный Метод

deletes resource locator with given path.
public deleteAction ( ) : Response
Результат Symfony\Component\HttpFoundation\Response
    public function deleteAction()
    {
        list($webspaceKey, $languageCode) = $this->getWebspaceAndLanguage();
        $path = $this->getRequestParameter($this->getRequest(), 'path', true);
        $this->getResourceLocatorRepository()->delete($path, $webspaceKey, $languageCode);
        $this->getDocumentManager()->flush();
        return $this->handleView($this->view());
    }