mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Updating code example in docs for 3.1 compatibility
This commit is contained in:
parent
e2c1a7111e
commit
537c864526
@ -205,7 +205,7 @@ attach this behaviour to custom fields by calling a helper function from your ge
|
|||||||
:::php
|
:::php
|
||||||
class Page extends SiteTree {
|
class Page extends SiteTree {
|
||||||
|
|
||||||
public static $db = array(
|
private static $db = array(
|
||||||
'AdditionalProperty' => 'Text',
|
'AdditionalProperty' => 'Text',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user