public function removeURLAliases(array $urlAliases)
    {
        foreach ($urlAliases as $urlAlias) {
            if ($urlAlias->isCustom) {
                list($parentId, $textMD5) = explode('-', $urlAlias->id);
                if (!$this->gateway->removeCustomAlias($parentId, $textMD5)) {
                    return false;
                }
            }
        }

        return true;
    }
public function removeURLAliases(array $urlAliases)
    {
        foreach ($urlAliases as $urlAlias) {
            if ($urlAlias->isCustom) {
                list($parentId, $textMD5) = explode('-', $urlAlias->id);
                if (!$this->gateway->removeCustomAlias($parentId, $textMD5)) {
                    return false;
                }
            }
        }

        return true;
    }
public function removeURLAliases ( array $ urlAliases ) { foreach ( $ urlAliases as $ urlAlias ) { if ( $ urlAlias -> isCustom ) { list ( $ parentId , $ textMD5 ) = explode ( '-' , $ urlAlias -> id ) ; if ( ! $ this -> gateway -> removeCustomAlias ( $ parentId , $ textMD5 ) ) { return false ; } } } return true ; }
Removes url aliases.

Autogenerated aliases are not removed by this method.

@param \eZ\Publish\SPI\Persistence\Content\UrlAlias[] $urlAliases

@return bool
Removes url aliases .