This commit is contained in:
Magnum34 2019-10-22 14:12:40 +02:00
parent 77428b38ec
commit 654521cddf
3 changed files with 12 additions and 0 deletions

View File

@ -55,6 +55,11 @@ class BlogCategory extends DataObject implements CategorisationObject
'BlogPosts' => BlogPost::class,
];
private static $translate = [
'Title',
'URLSegment'
];
/**
* {@inheritdoc}
*/

View File

@ -78,6 +78,8 @@ trait BlogObject
);
/**
* Simple Generate SEO-friendly URLs
* @param $text

View File

@ -41,6 +41,11 @@ class BlogTag extends DataObject implements CategorisationObject
'URLSegment' => 'Varchar(255)'
];
private static $translate = [
'Title',
'URLSegment'
];
/**
* @var array
*/