We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c09df commit f6297f4Copy full SHA for f6297f4
src/lib/UI/Config/Provider/Module/DamWidget.php
@@ -52,8 +52,6 @@
52
*/
53
final class DamWidget implements ProviderInterface
54
{
55
- private const IMAGE_TYPE_ID = 5;
56
-
57
/** @phpstan-var TConfig */
58
private array $config;
59
@@ -103,10 +101,10 @@ private function getImageConfig(): array
103
101
104
102
$imageConfig = [
105
'showImageFilters' => $this->showImageFilters(),
+ 'aggregations' => [],
106
'enableMultipleDownload' => extension_loaded('zip'),
107
];
108
109
110
// The content type may not have the default fields; in that case, don't add the aggregations
111
foreach ($this->config['image']['aggregations'] as $key => $aggregation) {
112
try {
0 commit comments