Upgrade the ContentGui module
Edit on GitHubUpgrading from version 1.* to version 2.*
Version 2.0.0 of the ContentGui
module introduces the Content Items functionality that allows creating and managing content and later selecting where it should be inserted.
The ContentGui
module version 2.0.0 introduced the following changes:
- Adjusted models to support parameter KEY of Content.
- Introduced the
ContentTransfer::$key
transfer object property. - Changed a header in
EditContent/index.twig
to use a key instead of the ID. - Increased the version of
spryker/content
in composer.json.
You can find more details about the changes on the ContentGui module release notes page.
Estimated migration time: 30 minutes
To upgrade to the new version of the module, do the following:
- Perform the steps in Upgrade the Content module.
- Upgrade the
ContentGui
module to version 2.0.0:
composer require spryker/content-gui:"^2.0.0" --update-with-dependencies
- Run the following command to re-generate transfer objects:
console transfer:generate
- Run the following command to re-build Zed UI:
console frontend:zed:build
Thank you!
For submitting the form