refs #265 add a first test + consistency of parameters

This commit is contained in:
2014-11-04 17:03:15 +01:00
parent b914229c11
commit b826d8e132
4 changed files with 50 additions and 5 deletions

View File

@@ -22,10 +22,13 @@ class Configuration implements ConfigurationInterface
$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()