Added hook for extension filters on tag blog posts

This commit is contained in:
Christopher Pitt 2015-11-17 16:09:31 +13:00
parent 3f23add5af
commit 040fb95eb6

View File

@ -42,6 +42,17 @@ class BlogTag extends DataObject implements CategorisationObject {
'URLSegmentExtension',
);
/**
* @return DataList
*/
public function BlogPosts() {
$blogPosts = parent::BlogPosts();
$this->extend("updateGetBlogPosts", $blogPosts);
return $blogPosts;
}
/**
* {@inheritdoc}
*/