root('chill_custom_fields'); $classInfo = "The class which may receive custom fields"; $nameInfo = "The name which will appears in the user interface. May be translatable"; $customizableEntitiesInfo = "A list of customizable entities"; $rootNode ->children() ->arrayNode('customizables_entities') ->info($customizableEntitiesInfo) ->defaultValue(array()) ->prototype('array') ->children() ->scalarNode('class')->isRequired()->info($classInfo)->end() ->scalarNode('name') ->isRequired()->info($nameInfo) ->end() ->end() ->end() ->end() ; return $treeBuilder; } }