Skip to content

Commit

Permalink
[AdminBundle][MediaBundle] Configure bundle dependencies by default (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
acrobat authored and Devolicious committed Feb 12, 2019
1 parent e5f85b2 commit e068050
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Expand Up @@ -119,6 +119,9 @@ public function prepend(ContainerBuilder $container)
$twigConfig['paths'][] = ['value' => dirname(__DIR__).'/Resources/views', 'namespace' => 'FOSUser'];
$container->prependExtensionConfig('twig', $twigConfig);

$frameworkConfig['templating']['engines'] = ['twig'];
$container->prependExtensionConfig('framework', $frameworkConfig);

$configs = $container->getExtensionConfig($this->getAlias());
$this->processConfiguration(new Configuration(), $configs);
}
Expand Down
6 changes: 6 additions & 0 deletions src/Kunstmaan/MediaBundle/Resources/config/services.yml
Expand Up @@ -160,3 +160,9 @@ services:
- '@liip_imagine.cache.signer'
- '@event_dispatcher'
- '%liip_imagine.cache.resolver.default%'

Gedmo\Tree\TreeListener:
tags:
- { name: doctrine.event_subscriber, connection: default }
calls:
- [ setAnnotationReader, [ "@annotation_reader" ] ]

0 comments on commit e068050

Please sign in to comment.