Skip to content

Commit 41d29a4

Browse files
committed
Configure node icons
1 parent 055fe76 commit 41d29a4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

app/config/config.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,20 @@ cmf_menu:
117117

118118
cmf_resource:
119119
description:
120-
enhancers: [sonata_phpcr_admin]
120+
enhancers: [sonata_phpcr_admin, cmf_tree_icons]
121121
repositories:
122122
default:
123123
type: doctrine/phpcr-odm
124124

125+
cmf_tree_browser:
126+
icons:
127+
AppBundle\Document\DemoSeoContent: 'fa fa-file-text-o'
128+
Sonata\BlockBundle\Model\BlockInterface: 'fa fa-cube'
129+
Symfony\Cmf\Bundle\SeoBundle\Model\SeoMetadata: 'fa fa-search'
130+
Symfony\Cmf\Bundle\MenuBundle\Model\MenuNode: 'fa fa-share-square-o'
131+
Symfony\Cmf\Bundle\RoutingBundle\Model\Route: 'fa fa-link'
132+
Symfony\Cmf\Bundle\RoutingBundle\Model\RedirectRoute: 'fa fa-reply'
133+
125134
cmf_sonata_phpcr_admin_integration:
126135
bundles:
127136
seo: ~
@@ -133,7 +142,6 @@ cmf_sonata_phpcr_admin_integration:
133142
menu_basepath: /cms/content
134143
routing: ~
135144

136-
137145
sonata_block:
138146
default_contexts: [cms]
139147
blocks:

0 commit comments

Comments
 (0)