Skip to content

Commit

Permalink
fixed #11 - Plugin does not seem to be working with Pimcore version 6…
Browse files Browse the repository at this point in the history
….3.6
  • Loading branch information
Christian Fasching committed Dec 30, 2019
1 parent 5ccd9b0 commit 1690eff
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?php
/**
* Pimcore
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
*/

namespace Elements\Bundle\AlternateObjectTreesBundle\DependencyInjection;


use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;

class ElementsAlternateObjectTreesExtension extends Extension
{

public function load(array $config, ContainerBuilder $container)
{
$loader = new YamlFileLoader(
$container,
new FileLocator(__DIR__ . '/../Resources/config')
);


$loader->load('services.yml');
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
autoconfigure: true
public: false

Elements\Bundle\AlternateObjectTrees\Controller\:
Elements\Bundle\AlternateObjectTreesBundle\Controller\:
resource: '../../Controller'
public: true
tags: ['controller.service_arguments']
Expand Down

0 comments on commit 1690eff

Please sign in to comment.