Skip to content

Commit

Permalink
Add group to ThumbnailInstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiKeiser committed Jun 5, 2019
1 parent 4f65f7f commit 7ecf858
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function getConfigTreeBuilder()
->end()
->end()
->scalarNode('description')->end()
->scalarNode('group')->defaultValue('CoreShop')->end()
->scalarNode('format')->cannotBeEmpty()->defaultValue('SOURCE')->end()
->integerNode('quality')->defaultValue(90)->end()
->floatNode('highResolution')->defaultValue(0.0)->end()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ private function installThumbnail($name, $properties)
$thumbnailConfig->setName($name);
$thumbnailConfig->setItems($properties['items']);
$thumbnailConfig->setDescription($properties['description']);
$thumbnailConfig->setGroup($properties['group']);
$thumbnailConfig->setFormat($properties['format']);
$thumbnailConfig->setQuality($properties['quality']);
$thumbnailConfig->setHighResolution($properties['highResolution']);
Expand Down

0 comments on commit 7ecf858

Please sign in to comment.