Skip to content

Commit 7185e16

Browse files
committed
Add event prefix and object
1 parent 31a6cd7 commit 7185e16

File tree

1 file changed

+14
-0
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value

1 file changed

+14
-0
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value/Collection.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,20 @@
1414
*/
1515
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
1616
{
17+
/**
18+
* Name prefix of events that are dispatched by model
19+
*
20+
* @var string
21+
*/
22+
protected $_eventPrefix = 'catalog_product_option_value_collection';
23+
24+
/**
25+
* Name of event parameter
26+
*
27+
* @var string
28+
*/
29+
protected $_eventObject = 'product_option_value_collection';
30+
1731
/**
1832
* Resource initialization
1933
*

0 commit comments

Comments
 (0)