Skip to content

Commit

Permalink
👌 Deprecate old constant
Browse files Browse the repository at this point in the history
Deprecate old constant with typo and introduce new correct spelled one.
  • Loading branch information
Andreas Schrammel committed Dec 18, 2017
1 parent 935dd8d commit deffe81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/code/Magento/Widget/Model/Widget/Instance.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ class Instance extends \Magento\Framework\Model\AbstractModel

const PRODUCT_LAYOUT_HANDLE = 'catalog_product_view';

/**
* @deprecated see self::SINGLE_PRODUCT_LAYOUT_HANDLE
*/
const SINGLE_PRODUCT_LAYOUT_HANLDE = self::SINGLE_PRODUCT_LAYOUT_HANDLE;

const SINGLE_PRODUCT_LAYOUT_HANDLE = 'catalog_product_view_id_{{ID}}';

const PRODUCT_TYPE_LAYOUT_HANDLE = 'catalog_product_view_type_{{TYPE}}';
Expand Down

0 comments on commit deffe81

Please sign in to comment.