+ ->end()
+ ->end()
+ ->end()
+ ->end()
+ ->arrayNode('translate')
+ ->treatNullLike([])
+ ->defaultValue($defaults['translate'])
+ ->scalarPrototype()->end()
+ ->end()
+ ->scalarNode('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end()
+ ->arrayNode('languages')
+ ->treatNullLike([])
+ ->defaultValue($defaults['languages'])
+ ->scalarPrototype()->end()
+ ->end()
+ ->arrayNode('contact')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['contact']['title'])->end()
+ ->scalarNode('mail')->cannotBeEmpty()->defaultValue($defaults['contact']['mail'])->end()
+ ->end()
+ ->end()
+ ->arrayNode('context')
+ ->treatNullLike([])
+ ->defaultValue($defaults['context'])
+ ->variablePrototype()->end()
+ ->end()
+ ->arrayNode('edit')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->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()