Update config again

This commit is contained in:
brabli
2024-08-07 17:41:57 +01:00
parent f2efe8225a
commit 2943466f5f

View File

@@ -43,12 +43,10 @@ final class PcmBadgeBundle extends AbstractBundle
public function prependExtension(ContainerConfigurator $container, ContainerBuilder $builder): void
{
$builder->prependExtensionConfig('twig_component', [
'defaults' => [
'Pcm\BadgeBundle\Twig\Component\\' => [
'template_directory' => '@Pcm/components/',
'name_prefix' => 'Pcm',
],
$builder->prependExtensionConfig('twig', [
'paths' => [
'templates/bundles/Pcm/BadgeBundle/' => null,
dirname(__DIR__).'/templates/' => null,
],
]);
}