StofDoctrineExtensionsBundle
StofDoctrineExtensionsBundle copied to clipboard
default_locale in SluggableListener
Hello
I'm trying to write a new slug transliterator that removes stopwords from the url. Stop words depends on language configuration, so I need to get the default locale at least. How could I get a custom parameter in my SluggableListener (it extends from\Gedmo\Sluggable\SluggableListener) Should the \Gedmo\Sluggable\SluggableListener have a setDefaultLocale() ? stof_doctrine_extensions.default_locale already exists but it is only used with Translatable