Skip to content

Commit 5e6fbcd

Browse files
committed
MC-15322: Fatal error when selecting Product CMS page design
Fix static failures
1 parent abdec4b commit 5e6fbcd

File tree

1 file changed

+5
-4
lines changed
  • app/code/Magento/PageBuilder/Block/Catalog/Block/Product/View

1 file changed

+5
-4
lines changed

app/code/Magento/PageBuilder/Block/Catalog/Block/Product/View/Attributes.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
use Magento\Framework\DataObject;
1111

12+
/**
13+
* Create a new instance of attributes which excludes Page Builder attributes
14+
*/
1215
class Attributes extends \Magento\Catalog\Block\Product\View\Attributes
1316
{
1417
const DISPLAY_ATTRIBUTES_NON_PAGEBUILDER = 'non_pagebuilder';
@@ -32,10 +35,8 @@ public function getProduct()
3235

3336
/**
3437
* Determine if we should display the attribute on the front-end, add support for exclude page builder & page
35-
* builder only options on class.
36-
*
37-
* display_attributes can be set to determine whether to include just Page Builder attributes or to exclude
38-
* them.
38+
* builder only options on class. display_attributes can be set to determine whether to include just Page Builder
39+
* attributes or to exclude them.
3940
*
4041
* @param \Magento\Eav\Model\Entity\Attribute\AbstractAttribute $attribute
4142
* @param array $excludeAttr

0 commit comments

Comments
 (0)