File tree Expand file tree Collapse file tree 22 files changed +107
-33
lines changed
Bundle/Controller/Adminhtml/Bundle/Product/Edit
Block/Adminhtml/Product/Edit/Tab
Controller/Adminhtml/Product
Downloadable/Controller/Adminhtml/Downloadable/Product/Edit Expand file tree Collapse file tree 22 files changed +107
-33
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Bundle \Controller \Adminhtml \Bundle \Product \Edit ;
8
8
9
+ use Magento \Catalog \Controller \Adminhtml \Product \Crosssell as CatalogCrossel ;
10
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
11
+
9
12
/**
10
13
* Class Crosssell
11
14
*
12
15
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
13
16
* @deprecated Not used since cross-sell products grid moved to UI components.
14
17
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
15
18
*/
16
- class Crosssell extends \ Magento \ Catalog \ Controller \ Adminhtml \ Product \Crosssell
19
+ class Crosssell extends CatalogCrossel implements HttpPostActionInterface
17
20
{
18
21
}
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Bundle \Controller \Adminhtml \Bundle \Product \Edit ;
8
8
9
+ use Magento \Catalog \Controller \Adminhtml \Product \CrosssellGrid as CatalogCrosssellGrid ;
10
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
11
+
9
12
/**
10
13
* Class CrosssellGrid
11
14
*
12
15
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
13
16
* @deprecated Not used since cross-sell products grid moved to UI components.
14
17
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
15
18
*/
16
- class CrosssellGrid extends \ Magento \ Catalog \ Controller \ Adminhtml \ Product \CrosssellGrid
19
+ class CrosssellGrid extends CatalogCrosssellGrid implements HttpPostActionInterface
17
20
{
18
21
}
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Bundle \Controller \Adminhtml \Bundle \Product \Edit ;
8
8
9
+ use Magento \Catalog \Controller \Adminhtml \Product \Related as CatalogRelated ;
10
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
11
+
9
12
/**
10
13
* Class Related
11
14
*
12
15
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
13
16
* @deprecated Not used since related products grid moved to UI components.
14
17
* @see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
15
18
*/
16
- class Related extends \ Magento \ Catalog \ Controller \ Adminhtml \ Product \Related
19
+ class Related extends CatalogRelated implements HttpPostActionInterface
17
20
{
18
21
}
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Bundle \Controller \Adminhtml \Bundle \Product \Edit ;
8
8
9
+ use Magento \Catalog \Controller \Adminhtml \Product \RelatedGrid as CatalogRelatedGrid ;
10
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
11
+
9
12
/**
10
13
* Class RelatedGrid
11
14
*
12
15
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
13
16
* @deprecated Not used since related products grid moved to UI components.
14
17
* @see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
15
18
*/
16
- class RelatedGrid extends \ Magento \ Catalog \ Controller \ Adminhtml \ Product \RelatedGrid
19
+ class RelatedGrid extends CatalogRelatedGrid implements HttpPostActionInterface
17
20
{
18
21
}
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Bundle \Controller \Adminhtml \Bundle \Product \Edit ;
8
8
9
+ use Magento \Catalog \Controller \Adminhtml \Product \Upsell as CatalogUpsell ;
10
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
11
+
9
12
/**
10
13
* Class Upsell
11
14
*
12
15
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
13
16
* @deprecated Not used since upsell products grid moved to UI components.
14
17
* @see Magento_Catalog::view/adminhtml/ui_component/upsell_product_listing.xml
15
18
*/
16
- class Upsell extends \ Magento \ Catalog \ Controller \ Adminhtml \ Product \Upsell
19
+ class Upsell extends CatalogUpsell implements HttpPostActionInterface
17
20
{
18
21
}
Original file line number Diff line number Diff line change 10
10
use Magento \Catalog \Model \Product ;
11
11
12
12
/**
13
+ * Crossel product edit tab
14
+ *
13
15
* @api
14
16
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
15
17
* @since 100.0.2
Original file line number Diff line number Diff line change 9
9
use Magento \Backend \Block \Widget \Grid \Extended ;
10
10
11
11
/**
12
+ * Related product edit tab
13
+ *
12
14
* @api
13
15
* @since 100.0.2
14
16
* @deprecated Not used since related products grid moved to UI components.
Original file line number Diff line number Diff line change 6
6
namespace Magento \Catalog \Block \Adminhtml \Product \Edit \Tab ;
7
7
8
8
/**
9
+ * Upsell product edit tab
10
+ *
9
11
* @api
10
12
* @since 100.0.2
11
13
* @deprecated Not used since upsell products grid moved to UI components.
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Catalog \Controller \Adminhtml \Product ;
8
8
9
+ use Magento \Catalog \Controller \Adminhtml \Product ;
10
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
11
+
9
12
/**
10
13
* Class Crosssell
11
14
*
12
15
* @package Magento\Catalog\Controller\Adminhtml\Product
13
16
* @deprecated Not used since cross-sell products grid moved to UI components.
14
17
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
15
18
*/
16
- class Crosssell extends \ Magento \ Catalog \ Controller \ Adminhtml \ Product
19
+ class Crosssell extends Product implements HttpPostActionInterface
17
20
{
18
21
/**
19
22
* @var \Magento\Framework\View\Result\LayoutFactory
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Catalog \Controller \Adminhtml \Product ;
8
8
9
+ use Magento \Catalog \Controller \Adminhtml \Product ;
10
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
11
+
9
12
/**
10
13
* Class CrosssellGrid
11
14
*
12
15
* @package Magento\Catalog\Controller\Adminhtml\Product
13
16
* @deprecated Not used since cross-sell products grid moved to UI components.
14
17
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
15
18
*/
16
- class CrosssellGrid extends \ Magento \ Catalog \ Controller \ Adminhtml \ Product
19
+ class CrosssellGrid extends Product implements HttpPostActionInterface
17
20
{
18
21
/**
19
22
* @var \Magento\Framework\View\Result\LayoutFactory
You can’t perform that action at this time.
0 commit comments