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