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

locationCopied() public method

See also: eZ\Publish\SPI\Persistence\Content\UrlAlias\Handler::locationCopied
public locationCopied ( $locationId, $newLocationId, $newParentId )
    public function locationCopied($locationId, $newLocationId, $newParentId)
    {
        $this->logger->logCall(__METHOD__, array('oldLocation' => $locationId, 'newLocation' => $newLocationId, 'newParent' => $newParentId));
        $return = $this->persistenceHandler->urlAliasHandler()->locationCopied($locationId, $newLocationId, $newParentId);
        $this->cache->clear('urlAlias', 'url');
        // required due to caching not found aliases
        return $return;
    }