$pageCopy->removeSlug()
Removes translated slug for copied page. This is needed to avoid translated slug collisions with the original page.
$pageCopy->removeSlug()
has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
$pageCopy->removeSlug(Kirby\Cms\Language|null $language): void
Parameters
Name | Type | Default |
---|---|---|
$language | Kirby\Cms\Language ornull |
no default value |