Add some config that might get the component to work
This commit is contained in:
@@ -40,5 +40,17 @@ final class PcmBadgeBundle extends AbstractBundle
|
|||||||
*/
|
*/
|
||||||
$definition->import('../config/definition.php');
|
$definition->import('../config/definition.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function prependExtension(ContainerConfigurator $container, ContainerBuilder $builder): void
|
||||||
|
{
|
||||||
|
$builder->prependExtensionConfig('twig_component', [
|
||||||
|
'defaults' => [
|
||||||
|
'Pcm\BadgeBundle\Twig\Component\\' => [
|
||||||
|
'template_directory' => '@Pcm/components/',
|
||||||
|
'name_prefix' => 'Pcm',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user