Skip to content

Commit 12960eb

Browse files
authored
deprecate bundle (#144)
1 parent 4d7fc3a commit 12960eb

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# OutputDataConfigToolkit
22

3+
> [!WARNING]
4+
> This bundle won't be migrated to Pimcore Studio and therefore will be deprecated with 6.2.
5+
36
This toolkit provides an user interface to create output formats for data objects based on different output channels.
47
So it is possible to define, which attributes of a data objects should be printed in a certain output channel.
58
An output data configuration consists of

src/OutputDataConfigToolkitBundle.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,23 @@
2020
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
2121
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
2222

23+
/**
24+
* @deprecated version 6.2
25+
*/
2326
class OutputDataConfigToolkitBundle extends AbstractPimcoreBundle implements PimcoreBundleAdminClassicInterface
2427
{
2528
use BundleAdminClassicTrait;
2629
use PackageVersionTrait;
2730

31+
public function __construct()
32+
{
33+
trigger_deprecation(
34+
'pimcore/output-data-config-toolkit-bundle',
35+
'6.2',
36+
'The OutputDataConfigToolkitBundle is deprecated and will be discontinued with Pimcore Studio.'
37+
);
38+
}
39+
2840
protected function getComposerPackageName(): string
2941
{
3042
return 'pimcore/output-data-config-toolkit-bundle';

0 commit comments

Comments
 (0)