+ ->end()
+ ->end()
+ ->arrayNode('context')
+ ->treatNullLike([])
+ ->defaultValue($defaults['context'])
+ ->variablePrototype()->end()
+ ->end()
+ ->arrayNode('edit')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->arrayNode('field')
+ ->treatNullLike([])
+ ->defaultValue($defaults['edit']['field'])
+ ->variablePrototype()->end()
+ ->end()
+ ->arrayNode('route')
+ ->treatNullLike([])
+ ->defaultValue($defaults['edit']['route'])
+ ->scalarPrototype()->end()
+ ->end()
+ ->arrayNode('view')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->scalarNode('edit')->cannotBeEmpty()->defaultValue($defaults['edit']['view']['edit'])->end()
+ ->scalarNode('reset')->cannotBeEmpty()->defaultValue($defaults['edit']['view']['reset'])->end()
+ ->scalarNode('name')->cannotBeEmpty()->defaultValue($defaults['edit']['view']['name'])->end()
+ ->arrayNode('context')
+ ->treatNullLike([])
+ ->defaultValue($defaults['edit']['view']['context'])
+ ->variablePrototype()->end()
+ ->end()
+ ->end()
+ ->end()