eZ\Publish\Core\Persistence\Cache\UrlAliasHandler::locationMoved PHP Method

locationMoved() public method

See also: eZ\Publish\SPI\Persistence\Content\UrlAlias\Handler::locationMoved
public locationMoved ( $locationId, $oldParentId, $newParentId )
    public function locationMoved($locationId, $oldParentId, $newParentId)
    {
        $this->logger->logCall(__METHOD__, array('location' => $locationId, 'oldParent' => $oldParentId, 'newParent' => $newParentId));
        $return = $this->persistenceHandler->urlAliasHandler()->locationMoved($locationId, $oldParentId, $newParentId);
        $this->cache->clear('urlAlias', 'url');
        //TIMBER! (Will have to load url aliases for location to be able to clear specific entries)
        return $return;
    }