Magento 2 event cheat set
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

Comment only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
./lib/internal/Magento/Framework/View/Layout/Builder.php: 79
: $this->eventManager->dispatch(
2
./lib/internal/Magento/Framework/View/Layout/Builder.php- 80
- 'layout_load_before',
3
./lib/internal/Magento/Framework/View/Layout/Builder.php- 81
- ['full_action_name' => $this->request->getFullActionName(), 'layout' => $this->layout]
4
--
5
./lib/internal/Magento/Framework/View/Layout/Builder.php: 122
: $this->eventManager->dispatch(
6
./lib/internal/Magento/Framework/View/Layout/Builder.php- 123
- 'layout_generate_blocks_before',
7
./lib/internal/Magento/Framework/View/Layout/Builder.php- 124
- ['full_action_name' => $this->request->getFullActionName(), 'layout' => $this->layout]
8
--
9
./lib/internal/Magento/Framework/View/Layout/Builder.php: 132
: $this->eventManager->dispatch(
10
./lib/internal/Magento/Framework/View/Layout/Builder.php- 133
- 'layout_generate_blocks_after',
11
./lib/internal/Magento/Framework/View/Layout/Builder.php- 134
- ['full_action_name' => $this->request->getFullActionName(), 'layout' => $this->layout]
12
./lib/internal/Magento/Framework/View/Layout.php: 478
: $this->_eventManager->dispatch(
13
./lib/internal/Magento/Framework/View/Layout.php- 479
- 'core_layout_render_element',
14
./lib/internal/Magento/Framework/View/Layout.php- 480
- ['element_name' => $name, 'layout' => $this, 'transport' => $this->_renderingOutput]
15
./lib/internal/Magento/Framework/Model/ResourceModel/Db/VersionControl/RelationComposite.php: 50
: $this->eventManager->dispatch(
16
./lib/internal/Magento/Framework/Model/ResourceModel/Db/VersionControl/RelationComposite.php- 51
- $object->getEventPrefix(). '_process_relation',
17
./lib/internal/Magento/Framework/Model/ResourceModel/Db/VersionControl/RelationComposite.php- 52- [
18
./lib/internal/Magento/Framework/Locale/Currency.php: 93
: $this->_eventManager->dispatch(
19
./lib/internal/Magento/Framework/Locale/Currency.php- 94
- 'currency_display_options_forming',
20
./lib/internal/Magento/Framework/Locale/Currency.php- 95
- ['currency_options' => $options, 'base_code' => $currency]
21
./app/code/Magento/Theme/Model/Config.php: 100
: $this->_eventManager->dispatch(
22
./app/code/Magento/Theme/Model/Config.php- 101
- 'assign_theme_to_stores_after',
23
./app/code/Magento/Theme/Model/Config.php- 102
- ['stores' => $stores, 'scope' => $scope, 'theme' => $theme]
24
./app/code/Magento/Theme/Block/Html/Topmenu.php: 72
: $this->_eventManager->dispatch(
25
./app/code/Magento/Theme/Block/Html/Topmenu.php- 73
- 'page_block_html_topmenu_gethtml_before',
26
./app/code/Magento/Theme/Block/Html/Topmenu.php- 74
- ['menu' => $this->_menu, 'block' => $this]
27
--
28
./app/code/Magento/Theme/Block/Html/Topmenu.php: 83
: $this->_eventManager->dispatch(
29
./app/code/Magento/Theme/Block/Html/Topmenu.php- 84
- 'page_block_html_topmenu_gethtml_after',
30
./app/code/Magento/Theme/Block/Html/Topmenu.php- 85
- ['menu' => $this->_menu, 'transportObject' => $transportObject]
31
./app/code/Magento/Reports/Model/ResourceModel/Order/Collection.php: 190
: $this->_eventManager->dispatch(
32
./app/code/Magento/Reports/Model/ResourceModel/Order/Collection.php- 191
- 'sales_prepare_amount_expression',
33
./app/code/Magento/Reports/Model/ResourceModel/Order/Collection.php- 192
- ['collection' => $this, 'expression_object' => $expressionTransferObject]
34
./app/code/Magento/Reports/Block/Adminhtml/Grid.php: 143
: $this->_eventManager->dispatch(
35
./app/code/Magento/Reports/Block/Adminhtml/Grid.php- 144
- 'adminhtml_widget_grid_filter_collection',
36
./app/code/Magento/Reports/Block/Adminhtml/Grid.php- 145
- ['collection' => $this->getCollection(), 'filter_values' => $this->_filterValues]
37
./app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php: 126
: $this->_eventManager->dispatch(
38
./app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php- 127
- 'catalog_category_prepare_save',
39
./app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php- 128
- ['category' => $category, 'request' => $this->getRequest()]
40
./app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php: 103
: $this->_eventManager->dispatch(
41
./app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php- 104
- 'category_prepare_ajax_response',
42
./app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php- 105
- ['response' => $eventResponse, 'controller' => $this]
43
./app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php: 105
: $this->_eventManager->dispatch(
44
./app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php- 106
- 'controller_action_catalog_product_save_entity_after',
45
./app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php- 107
- ['controller' => $this]
46
./app/code/Magento/Catalog/Controller/Adminhtml/Product/Gallery/Upload.php: 60
: $this->_eventManager->dispatch(
47
./app/code/Magento/Catalog/Controller/Adminhtml/Product/Gallery/Upload.php- 61
- 'catalog_product_gallery_upload_image_after',
48
./app/code/Magento/Catalog/Controller/Adminhtml/Product/Gallery/Upload.php- 62
- ['result' => $result, 'action' => $this]
49
./app/code/Magento/Catalog/Controller/Category/View.php: 134
: $this->_eventManager->dispatch(
50
./app/code/Magento/Catalog/Controller/Category/View.php- 135
- 'catalog_controller_category_init_after',
51
./app/code/Magento/Catalog/Controller/Category/View.php- 136
- ['category' => $category, 'controller_action' => $this]
52
./app/code/Magento/Catalog/Controller/Product/Compare/Remove.php: 50
: $this->_eventManager->dispatch(
53
./app/code/Magento/Catalog/Controller/Product/Compare/Remove.php- 51
- 'catalog_product_compare_remove_product',
54
./app/code/Magento/Catalog/Controller/Product/Compare/Remove.php- 52
- ['product' => $item]
55
./app/code/Magento/Catalog/Helper/Product.php: 407
: $this->_eventManager->dispatch(
56
./app/code/Magento/Catalog/Helper/Product.php- 408
- 'catalog_controller_product_init_before',
57
./app/code/Magento/Catalog/Helper/Product.php- 409
- ['controller_action' => $controller, 'params' => $params]
58
--
59
./app/code/Magento/Catalog/Helper/Product.php: 457
: $this->_eventManager->dispatch(
60
./app/code/Magento/Catalog/Helper/Product.php- 458
- 'catalog_controller_product_init_after',
61
./app/code/Magento/Catalog/Helper/Product.php- 459
- ['product' => $product, 'controller_action' => $controller]
62
./app/code/Magento/Catalog/Model/Product.php:1635
: $this->_eventManager->dispatch(
63
./app/code/Magento/Catalog/Model/Product.php-1636
- 'catalog_product_is_salable_after',
64
./app/code/Magento/Catalog/Model/Product.php-1637
- ['product' => $this, 'salable' => $object]
65
./app/code/Magento/Catalog/Model/Rss/Product/NotifyStock.php: 73
: $this->eventManager->dispatch(
66
./app/code/Magento/Catalog/Model/Rss/Product/NotifyStock.php- 74
- 'rss_catalog_notify_stock_collection_select',
67
./app/code/Magento/Catalog/Model/Rss/Product/NotifyStock.php- 75
- ['collection' => $collection]
68
./app/code/Magento/Catalog/Model/ResourceModel/Category.php: 415
: $this->_eventManager->dispatch(
69
./app/code/Magento/Catalog/Model/ResourceModel/Category.php- 416
- 'catalog_category_change_products',
70
./app/code/Magento/Catalog/Model/ResourceModel/Category.php- 417
- ['category' => $category, 'product_ids' => $productIds]
71
./app/code/Magento/Catalog/Model/ResourceModel/Product.php: 291
: $this->eventManager->dispatch(
72
./app/code/Magento/Catalog/Model/ResourceModel/Product.php- 292
- 'catalog_product_delete_after_done',
73
./app/code/Magento/Catalog/Model/ResourceModel/Product.php- 293
- ['product' => $object]
74
./app/code/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php: 216
: $this->_eventManager->dispatch(
75
./app/code/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php- 217
- $this->_eventPrefix . '_add_is_active_filter',
76
./app/code/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php- 218
- [$this->_eventObject => $this]
77
./app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php: 330
: $this->_eventManager->dispatch(
78
./app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php- 331
- $this->_eventPrefix . '_add_is_active_filter',
79
./app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php- 332
- [$this->_eventObject => $this]
80
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/DefaultPrice.php: 318
: $this->_eventManager->dispatch(
81
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/DefaultPrice.php- 319
- 'prepare_catalog_product_index_select',
82
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/DefaultPrice.php- 320- [
83
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Decimal.php: 85
: $this->_eventManager->dispatch(
84
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Decimal.php- 86
- 'prepare_catalog_product_index_select',
85
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Decimal.php- 87- [
86
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/AbstractEav.php: 207
: $this->_eventManager->dispatch(
87
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/AbstractEav.php- 208
- 'prepare_catalog_product_index_select',
88
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/AbstractEav.php- 209- [
89
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php: 182
: $this->_eventManager->dispatch(
90
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php- 183
- 'prepare_catalog_product_index_select',
91
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php- 184- [
92
--
93
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php: 267
: $this->_eventManager->dispatch(
94
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php- 268
- 'prepare_catalog_product_index_select',
95
./app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php- 269- [
96
./app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php:1191
: $this->_eventManager->dispatch(
97
./app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php-1192
- 'catalog_product_collection_before_add_count_to_categories',
98
./app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php-1193
- ['collection' => $this]
99
--
100
./app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php:1947
: $this->_eventManager->dispatch(
Loading...