Update config again
This commit is contained in:
@@ -43,12 +43,10 @@ final class PcmBadgeBundle extends AbstractBundle
|
|||||||
|
|
||||||
public function prependExtension(ContainerConfigurator $container, ContainerBuilder $builder): void
|
public function prependExtension(ContainerConfigurator $container, ContainerBuilder $builder): void
|
||||||
{
|
{
|
||||||
$builder->prependExtensionConfig('twig_component', [
|
$builder->prependExtensionConfig('twig', [
|
||||||
'defaults' => [
|
'paths' => [
|
||||||
'Pcm\BadgeBundle\Twig\Component\\' => [
|
'templates/bundles/Pcm/BadgeBundle/' => null,
|
||||||
'template_directory' => '@Pcm/components/',
|
dirname(__DIR__).'/templates/' => null,
|
||||||
'name_prefix' => 'Pcm',
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user