Skip to content

Commit

Permalink
Deprecate const
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajsarowicz committed Feb 29, 2020
1 parent 381ab64 commit 778fbfb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions app/code/Magento/Catalog/Helper/Product/ProductList.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,19 @@
*/
class ProductList
{
public const XML_PATH_LIST_MODE = 'catalog/frontend/list_mode';
public const DEFAULT_SORT_DIRECTION = 'asc';

/**
* List mode configuration path
* @deprecated
*/
const XML_PATH_LIST_MODE = 'catalog/frontend/list_mode';
const DEFAULT_SORT_DIRECTION = 'asc';
const VIEW_MODE_LIST = 'list';

/**
* @deprecated
*/
const VIEW_MODE_GRID = 'grid';


/**
* @var ScopeConfigInterface
Expand Down

0 comments on commit 778fbfb

Please sign in to comment.