Skip to content

Commit 7ef7dec

Browse files
author
Bohdan Berezhniy
committed
added event prefix
1 parent 78002c7 commit 7ef7dec

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Model/ResourceModel/Category/Collection.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@
1313
*/
1414
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
1515
{
16+
/**
17+
* @inheritDoc
18+
*/
19+
protected $_eventPrefix = 'mfblog_category_collection';
20+
21+
/**
22+
* @inheritDoc
23+
*/
24+
protected $_eventObject = 'blog_category_collection';
25+
1626
/**
1727
* @inheritDoc
1828
*/

0 commit comments

Comments
 (0)