Add config to config file

This commit is contained in:
Brabli
2022-08-29 18:23:38 +01:00
parent 27c6134881
commit e60cfd7279

View File

@@ -6,6 +6,16 @@ services:
pcm_icon.icon_extension:
public: true
class: Pcm\IconBundle\Twig\Functions\IconExtension
args:
directories:
- '%kernel.project_dir%/public/icons'
palletes:
- primary:
stroke: stroke-primary,
fill: fill-primary
- white:
stroke: stroke-white,
fill: fill-white
Pcm\IconBundle\Twig\Functions\IconExtension:
public: false