$pageActions->changeTemplate()
Changes the page template
$pageActions->changeTemplate(string $template): Kirby\Cms\PageActions
Parameters
| Name | Type | Default |
|---|---|---|
| $templaterequired | string |
no default value |
Return types
Kirby\Cms\PageActions
This method does not modify the existing $pageactions object but returns a new object with the changes applied. Learn more →
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\LogicException |
If the textfile cannot be renamed/moved |
Parent class
Kirby\Cms\PageActions