Skip to content

Commit deffe81

Browse files
author
Andreas Schrammel
committed
👌 Deprecate old constant
Deprecate old constant with typo and introduce new correct spelled one.
1 parent 935dd8d commit deffe81

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/code/Magento/Widget/Model/Widget/Instance.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ class Instance extends \Magento\Framework\Model\AbstractModel
3434

3535
const PRODUCT_LAYOUT_HANDLE = 'catalog_product_view';
3636

37+
/**
38+
* @deprecated see self::SINGLE_PRODUCT_LAYOUT_HANDLE
39+
*/
40+
const SINGLE_PRODUCT_LAYOUT_HANLDE = self::SINGLE_PRODUCT_LAYOUT_HANDLE;
41+
3742
const SINGLE_PRODUCT_LAYOUT_HANDLE = 'catalog_product_view_id_{{ID}}';
3843

3944
const PRODUCT_TYPE_LAYOUT_HANDLE = 'catalog_product_view_type_{{TYPE}}';

0 commit comments

Comments
 (0)