Merx

$productPage->changeSlug()

Changes the slug/uid of the page

$productPage->changeSlug(string $slug, null|string $languageCode = null): Kirby\Cms\Page

Parameters

Name Type Default
$slug string -
$languageCode null or string null

Return type

Kirby\Cms\Page

Exceptions

Type Description
LogicException If the directory cannot be moved

Parent class

Wagnerwagner\Merx\ProductPage inherited from Kirby\Cms\Page