diff --git a/README.md b/README.md index 0b61a78..e74e7ad 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Web2Print Tools Bundle for Pimcore +> [!WARNING] +> This bundle won't be migrated to Pimcore Studio and therefore will be deprecated with 6.1. + Adds following additional features to the web2print functionality of Pimcore. - Favorite Output Channels - Document Editable for Configurable Tables diff --git a/src/Web2PrintToolsBundle.php b/src/Web2PrintToolsBundle.php index 9c46f76..996a5c2 100644 --- a/src/Web2PrintToolsBundle.php +++ b/src/Web2PrintToolsBundle.php @@ -21,11 +21,23 @@ use Web2PrintToolsBundle\DependencyInjection\Web2PrintToolsExtension; use Web2PrintToolsBundle\Tools\Installer; +/** + * deprecated version 6.1 + */ class Web2PrintToolsBundle extends AbstractPimcoreBundle implements PimcoreBundleAdminClassicInterface { use BundleAdminClassicTrait; use PackageVersionTrait; + public function __construct() + { + trigger_deprecation( + 'pimcore/web2print-tools-bundle', + '6.1', + 'The Web2PrintToolsBundle is deprecated and will be discontinued with Pimcore Studio.' + ); + } + protected function getComposerPackageName(): string { return 'pimcore/web2print-tools-bundle';