give BlogPost ownership of FeaturedImage

This commit is contained in:
Andrew Aitken-Fincham 2017-06-20 21:07:30 +01:00
parent a28861c352
commit 409b4190a3

View File

@ -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
*/ */