Skip to content

Commit

Permalink
Add EventObject to CMS Page/Block Collection
Browse files Browse the repository at this point in the history
  • Loading branch information
osrecio authored and convenient committed Oct 4, 2017
1 parent e110196 commit ce93e40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Cms/Model/ResourceModel/Page/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ class Collection extends AbstractCollection
*
* @var string
*/
protected $_eventPrefix = 'page_collection';
protected $_eventPrefix = 'cms_page_collection';

/**
* Event object
*
* @var string
*/
protected $_eventObject = 'order_item_collection';
protected $_eventObject = 'page_collection';

/**
* Define resource model
Expand Down

0 comments on commit ce93e40

Please sign in to comment.