Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
expectedArray.php
Go to the documentation of this file.
1 <?php
6 return [
7  'blocks' => [
8  'reorder_sidebar' => [
9  'name_in_layout' => 'sale.reorder.sidebar',
10  'class' => \Magento\PersistentHistory\Model\Observer::class,
11  'method' => 'initReorderSidebar',
12  'block_type' => \Magento\Sales\Block\Reorder\Sidebar::class,
13  ],
14  'viewed_products' => [
15  'name_in_layout' => 'left.reports.product.viewed',
16  'class' => \Magento\PersistentHistory\Model\Observer::class,
17  'method' => 'emulateViewedProductsBlock',
18  'block_type' => \Magento\Sales\Block\Reorder\Sidebar::class,
19  ],
20  'compared_products' => [
21  'name_in_layout' => 'right.reports.product.compared',
22  'class' => \Magento\PersistentHistory\Model\Observer::class,
23  'method' => 'emulateComparedProductsBlock',
24  'block_type' => \Magento\Reports\Block\Product\Compared::class,
25  ],
26  ]
27 ];