Skip to content

Commit 431f38c

Browse files
authored
Merge pull request #222 from magento-obsessive-owls/MC-14947-product-description-default
[Owls] Product description does not default to Page Builder on fresh install
2 parents 4692b9c + 4a0cd34 commit 431f38c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

app/code/Magento/PageBuilderDataMigration/Setup/Patch/Data/UpdateProductAttribute.php renamed to app/code/Magento/PageBuilder/Setup/Patch/Data/UpdateProductAttribute.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66

77
declare(strict_types=1);
88

9-
namespace Magento\PageBuilderDataMigration\Setup\Patch\Data;
9+
namespace Magento\PageBuilder\Setup\Patch\Data;
1010

1111
use Magento\Framework\Setup\Patch\DataPatchInterface;
1212
use Magento\Framework\Setup\ModuleDataSetupInterface;
1313

1414
/**
15-
* Patch is mechanism, that allows to do atomic upgrade data changes
15+
* Update description product attribute to by default enable Page Builder
1616
*/
17-
class UpdateProductAttribute implements
18-
DataPatchInterface
17+
class UpdateProductAttribute implements DataPatchInterface
1918
{
2019
/**
2120
* @var ModuleDataSetupInterface $moduleDataSetup
@@ -40,7 +39,7 @@ public function __construct(
4039
}
4140

4241
/**
43-
* Do Upgrade
42+
* Modify EAV tables to update description attribute page builder enabled value
4443
*
4544
* @return void
4645
*/
@@ -72,6 +71,6 @@ public function getAliases()
7271
*/
7372
public static function getDependencies()
7473
{
75-
return [MigrateToPageBuilder::class];
74+
return [];
7675
}
7776
}

0 commit comments

Comments
 (0)