Skip to content

Commit 5abc240

Browse files
Merge branch '3.x' into 4.x
2 parents 0790a51 + cb658fe commit 5abc240

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/DependencyInjection/Configuration.php

+8
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,15 @@ public function getConfigTreeBuilder(): TreeBuilder
113113
->prototype('scalar')->end()
114114
->end()
115115
->scalarNode('slugify_service')
116+
// NEXT_MAJOR: reword this info message
117+
->info('You should use: sonata.page.slugify.cocur, but for BC we keep \'sonata.core.slugify.native\' as default')
116118
->defaultValue('sonata.page.slugify.cocur')
119+
->setDeprecated(
120+
...$this->getDeprecationMessage(
121+
'The "slugify_service" option is deprecated since sonata-project/page-bundle 3.28 and will be removed in 4.0. Use decoration of services instead.',
122+
'3.x'
123+
)
124+
)
117125
->end()
118126
->arrayNode('ignore_routes')
119127
->defaultValue([])

0 commit comments

Comments
 (0)