new ContentTranslation()
Creates a new translation object
Parameters
Name | Type | Default |
---|---|---|
$props * | array |
– |
For the $props
parameter, you pass an array with the following data, which will be used to set up the Kirby\Cms\ContentTranslation
object:
Name | Type |
---|---|
code * | string |
content | array |
parent * | Kirby\Cms\Model |
slug | string |