mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Added hook for extension filters on tag blog posts
This commit is contained in:
parent
3f23add5af
commit
040fb95eb6
@ -42,6 +42,17 @@ class BlogTag extends DataObject implements CategorisationObject {
|
|||||||
'URLSegmentExtension',
|
'URLSegmentExtension',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return DataList
|
||||||
|
*/
|
||||||
|
public function BlogPosts() {
|
||||||
|
$blogPosts = parent::BlogPosts();
|
||||||
|
|
||||||
|
$this->extend("updateGetBlogPosts", $blogPosts);
|
||||||
|
|
||||||
|
return $blogPosts;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user