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
|
||||
{
|
||||
$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,
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user