Skip to content

Commit

Permalink
fix: bundle naming
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiKeiser committed Jan 3, 2022
1 parent c991f79 commit cfa914d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ To install the CI HUB Adapter complete following steps:
Configure the default thumbnail, which is used by CI HUB to display the preview of your Pimcore Assets:

```yaml
# Default configuration for "CIHubAdapterBundle"
ci_hub_adapter:
# Default configuration for "PimcoreCIHubAdapterBundle"
pimcore_ci_hub_adapter:

# Default image/document thumbnail settings.
default_preview_thumbnail:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Configuration implements ConfigurationInterface
*/
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('ci_hub_adapter');
$treeBuilder = new TreeBuilder('pimcore_ci_hub_adapter');
$treeBuilder->getRootNode()
->addDefaultsIfNotSet()
->children()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;

class CIHubAdapterExtension extends Extension
class PimcoreCIHubAdapterExtension extends Extension
{
/**
* {@inheritdoc}
Expand All @@ -46,6 +46,6 @@ public function load(array $configs, ContainerBuilder $container): void
*/
private function registerConfiguration(ContainerBuilder $container, array $config): void
{
$container->setParameter('ci_hub_adapter.default_preview_thumbnail', $config['default_preview_thumbnail']);
$container->setParameter('pimcore_ci_hub_adapter.default_preview_thumbnail', $config['default_preview_thumbnail']);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

use CIHub\Bundle\SimpleRESTAdapterBundle\Loader\ConfigurationLoaderInterface;

final class CIHubConfigurationLoader implements ConfigurationLoaderInterface
final class PimcoreCIHubConfigurationLoader implements ConfigurationLoaderInterface
{
/**
* {@inheritdoc}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ci_hub_adapter:
# default_preview_thumbnail:
# format: 'PNG'
# width: 300
# height: 300
# frame: true
# forceResize: true
pimcore_ci_hub_adapter:
default_preview_thumbnail:
format: 'PNG'
width: 300
height: 300
frame: true
forceResize: true
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:

# CI HUB Configuration Loader
CIHub\Bundle\PimcoreCIHubAdapterBundle\Loader\CIHubConfigurationLoader:
CIHub\Bundle\PimcoreCIHubAdapterBundle\Loader\PimcoreCIHubConfigurationLoader:
tags:
- { name: 'pimcore.datahub.configuration.loader' }

0 comments on commit cfa914d

Please sign in to comment.