File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 21
21
use Symfony \Component \Form \Form ;
22
22
use Symfony \Component \Lock \Lock ;
23
23
use Symfony \Component \Lock \Store \SemaphoreStore ;
24
+ use Symfony \Component \PropertyInfo \PropertyInfoExtractor ;
24
25
use Symfony \Component \Security \Csrf \CsrfTokenManagerInterface ;
25
26
use Symfony \Component \Serializer \Serializer ;
26
27
use Symfony \Component \Translation \Translator ;
@@ -823,7 +824,7 @@ private function addPropertyInfoSection(ArrayNodeDefinition $rootNode)
823
824
->children ()
824
825
->arrayNode ('property_info ' )
825
826
->info ('Property info configuration ' )
826
- ->canBeEnabled ()
827
+ ->{! class_exists (FullStack::class) && class_exists (PropertyInfoExtractor::class) ? ' canBeDisabled ' : ' canBeEnabled ' } ()
827
828
->end ()
828
829
->end ()
829
830
;
You can’t perform that action at this time.
0 commit comments