Skip to content

magento/magento2#?: Mark not used blocks, controllers and layout updates which are related to deprecated way of rendering grid for related/coross-sell/upsell products. #19824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit;

/**
* Class Crosssell
*
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
* @deprecated Not used since cross-sell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
*/
class Crosssell extends \Magento\Catalog\Controller\Adminhtml\Product\Crosssell
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit;

/**
* Class CrosssellGrid
*
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
* @deprecated Not used since cross-sell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
*/
class CrosssellGrid extends \Magento\Catalog\Controller\Adminhtml\Product\CrosssellGrid
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit;

/**
* Class Related
*
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
* @deprecated Not used since related products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
*/
class Related extends \Magento\Catalog\Controller\Adminhtml\Product\Related
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit;

/**
* Class RelatedGrid
*
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
* @deprecated Not used since related products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
*/
class RelatedGrid extends \Magento\Catalog\Controller\Adminhtml\Product\RelatedGrid
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit;

/**
* Class Upsell
*
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
* @deprecated Not used since upsell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/upsell_product_listing.xml
*/
class Upsell extends \Magento\Catalog\Controller\Adminhtml\Product\Upsell
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit;

/**
* Class UpsellGrid
*
* @package Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit
* @deprecated Not used since upsell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/upsell_product_listing.xml
*/
class UpsellGrid extends \Magento\Catalog\Controller\Adminhtml\Product\UpsellGrid
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* @api
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @since 100.0.2
* @deprecated Not used since cross-sell products grid moved to UI components.
* @see \Magento\Catalog\Ui\DataProvider\Product\Related\CrossSellDataProvider
*/
class Crosssell extends Extended
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
/**
* @api
* @since 100.0.2
* @deprecated Not used since related products grid moved to UI components.
* @see \Magento\Catalog\Ui\DataProvider\Product\Related\RelatedDataProvider
*/
class Related extends Extended
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
/**
* @api
* @since 100.0.2
* @deprecated Not used since upsell products grid moved to UI components.
* @see \Magento\Catalog\Ui\DataProvider\Product\Related\CrossSellDataProvider
*/
class Upsell extends \Magento\Backend\Block\Widget\Grid\Extended
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Catalog\Controller\Adminhtml\Product;

/**
* Class Crosssell
*
* @package Magento\Catalog\Controller\Adminhtml\Product
* @deprecated Not used since cross-sell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
*/
class Crosssell extends \Magento\Catalog\Controller\Adminhtml\Product
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Catalog\Controller\Adminhtml\Product;

/**
* Class CrosssellGrid
*
* @package Magento\Catalog\Controller\Adminhtml\Product
* @deprecated Not used since cross-sell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
*/
class CrosssellGrid extends \Magento\Catalog\Controller\Adminhtml\Product
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
*/
namespace Magento\Catalog\Controller\Adminhtml\Product;

/**
* Class Related
*
* @package Magento\Catalog\Controller\Adminhtml\Product
* @deprecated Not used since related products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
*/
class Related extends \Magento\Catalog\Controller\Adminhtml\Product
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
*/
namespace Magento\Catalog\Controller\Adminhtml\Product;

/**
* Class RelatedGrid
*
* @package Magento\Catalog\Controller\Adminhtml\Product
* @deprecated Not used since related products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
*/
class RelatedGrid extends Related
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Catalog\Controller\Adminhtml\Product;

/**
* Class Upsell
*
* @package Magento\Catalog\Controller\Adminhtml\Product
* @deprecated Not used since upsell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/upsell_product_listing.xml
*/
class Upsell extends \Magento\Catalog\Controller\Adminhtml\Product
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Catalog\Controller\Adminhtml\Product;

/**
* Class UpsellGrid
*
* @package Magento\Catalog\Controller\Adminhtml\Product
* @deprecated Not used since upsell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/upsell_product_listing.xml
*/
class UpsellGrid extends \Magento\Catalog\Controller\Adminhtml\Product
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* See COPYING.txt for license details.
*/
-->
<!--
@deprecated Not used since cross-sell products grid moved to UI components.
@see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
-->
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">
<container name="root" label="Root">
<block class="Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Crosssell" name="catalog.product.edit.tab.crosssell"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* See COPYING.txt for license details.
*/
-->
<!--
@deprecated Not used since cross-sell products grid moved to UI components.
@see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
-->
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">
<container name="root" label="Root">
<block class="Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Crosssell" name="catalog.product.edit.tab.crosssell"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* See COPYING.txt for license details.
*/
-->
<!--
@deprecated Not used since related products grid moved to UI components.
@see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
-->
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">
<container name="root" label="Root">
<block class="Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Related" name="catalog.product.edit.tab.related"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* See COPYING.txt for license details.
*/
-->
<!--
@deprecated Not used since related products grid moved to UI components.
@see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
-->
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">
<container name="root" label="Root">
<block class="Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Related" name="catalog.product.edit.tab.related"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* See COPYING.txt for license details.
*/
-->
<!--
@deprecated Not used since upsell products grid moved to UI components.
@see Magento_Catalog::view/adminhtml/ui_component/upsell_product_listing.xml
-->
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">
<container name="root" label="Root">
<block class="Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Upsell" name="catalog.product.edit.tab.upsell"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* See COPYING.txt for license details.
*/
-->
<!--
@deprecated Not used since upsell products grid moved to UI components.
@see Magento_Catalog::view/adminhtml/ui_component/upsell_product_listing.xml
-->
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">
<container name="root" label="Root">
<block class="Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Upsell" name="catalog.product.edit.tab.upsell"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit;

/**
* Class Crosssell
*
* @package Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit
* @deprecated Not used since cross-sell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
*/
class Crosssell extends \Magento\Catalog\Controller\Adminhtml\Product\Crosssell
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit;

/**
* Class CrosssellGrid
*
* @package Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit
* @deprecated Not used since cross-sell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/crosssell_product_listing.xml
*/
class CrosssellGrid extends \Magento\Catalog\Controller\Adminhtml\Product\CrosssellGrid
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit;

/**
* Class Related
*
* @package Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit
* @deprecated Not used since related products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
*/
class Related extends \Magento\Catalog\Controller\Adminhtml\Product\Related
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit;

/**
* Class RelatedGrid
*
* @package Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit
* @deprecated Not used since related products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/related_product_listing.xml
*/
class RelatedGrid extends \Magento\Catalog\Controller\Adminhtml\Product\RelatedGrid
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit;

/**
* Class Upsell
*
* @package Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit
* @deprecated Not used since upsell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/upsell_product_listing.xml
*/
class Upsell extends \Magento\Catalog\Controller\Adminhtml\Product\Upsell
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
*/
namespace Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit;

/**
* Class UpsellGrid
*
* @package Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit
* @deprecated Not used since upsell products grid moved to UI components.
* @see Magento_Catalog::view/adminhtml/ui_component/upsell_product_listing.xml
*/
class UpsellGrid extends \Magento\Catalog\Controller\Adminhtml\Product\UpsellGrid
{
}