diff --git a/src/Bundle/DependencyInjection/DoctrineBehaviorsExtension.php b/src/Bundle/DependencyInjection/DoctrineBehaviorsExtension.php index dee8bb3b..5350b039 100644 --- a/src/Bundle/DependencyInjection/DoctrineBehaviorsExtension.php +++ b/src/Bundle/DependencyInjection/DoctrineBehaviorsExtension.php @@ -21,6 +21,10 @@ public function load(array $configs, ContainerBuilder $container) $configuration = new Configuration(); $config = $this->processConfiguration($configuration, $configs); + // Don't rename in Configuration for BC reasons + $config['softdeletable'] = $config['soft_deletable']; + unset($config['soft_deletable']); + foreach ($config as $behavior => $enabled) { if (!$enabled) { $container->removeDefinition(sprintf('knp.doctrine_behaviors.%s_subscriber', $behavior));