add doc + make steps identical between actions

This commit is contained in:
2020-03-13 12:49:52 +01:00
parent 13e81b3b49
commit aad7417869
2 changed files with 6 additions and 3 deletions

View File

@@ -121,7 +121,10 @@ class Configuration implements ConfigurationInterface
->arrayPrototype()
->children()
->scalarNode('class')->cannotBeEmpty()->isRequired()->end()
->scalarNode('controller')->cannotBeEmpty()->isRequired()->end()
->scalarNode('controller')
->cannotBeEmpty()
->defaultValue(\Chill\MainBundle\CRUD\Controller\CRUDController::class)
->end()
->scalarNode('name')->cannotBeEmpty()->isRequired()->end()
->scalarNode('base_path')->cannotBeEmpty()->isRequired()->end()
->scalarNode('base_role')->defaultNull()->end()