mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
give BlogPost ownership of FeaturedImage
This commit is contained in:
parent
a28861c352
commit
409b4190a3
@ -72,6 +72,13 @@ class BlogPost extends Page
|
|||||||
'FeaturedImage' => Image::class
|
'FeaturedImage' => Image::class
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
private static $owns = array(
|
||||||
|
'FeaturedImage',
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user