We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
const
1 parent 381ab64 commit 778fbfbCopy full SHA for 778fbfb
app/code/Magento/Catalog/Helper/Product/ProductList.php
@@ -21,11 +21,19 @@
21
*/
22
class ProductList
23
{
24
+ public const XML_PATH_LIST_MODE = 'catalog/frontend/list_mode';
25
+ public const DEFAULT_SORT_DIRECTION = 'asc';
26
+
27
/**
- * List mode configuration path
28
+ * @deprecated
29
- const XML_PATH_LIST_MODE = 'catalog/frontend/list_mode';
- const DEFAULT_SORT_DIRECTION = 'asc';
30
+ const VIEW_MODE_LIST = 'list';
31
32
+ /**
33
34
+ */
35
+ const VIEW_MODE_GRID = 'grid';
36
37
38
39
* @var ScopeConfigInterface
0 commit comments