Commit dccfc154 authored by Pawel G's avatar Pawel G

Improve documentation

parent acdbedd0
......@@ -33,9 +33,7 @@ function hook_simple_sitemap_links_alter(array &$links, $sitemap_variant) {
// If this 'loc' URL points to a non-german site, make sure to remove
// its german alternate URL.
else {
if ($link['alternate_urls']['de']) {
unset($links[$key]['alternate_urls']['de']);
}
unset($links[$key]['alternate_urls']['de']);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment