work on basic CRUDController and improve configuration

This commit is contained in:
2019-11-22 13:45:30 +01:00
parent 4575812a3b
commit e6bf77530b
8 changed files with 355 additions and 47 deletions

View File

@@ -124,10 +124,11 @@ class Configuration implements ConfigurationInterface
->scalarNode('controller')->cannotBeEmpty()->isRequired()->end()
->scalarNode('name')->cannotBeEmpty()->isRequired()->end()
->scalarNode('base_path')->cannotBeEmpty()->isRequired()->end()
->scalarNode('base_role')->defaultNull()->end()
->scalarNode('form_class')->defaultNull()->end()
->arrayNode('actions')
->scalarPrototype()->end()
//->defaultValue(['index', 'new', 'edit', 'show', 'delete'])
//->ifEmpty()->thenInvalid()
->defaultValue(['index', 'new', 'edit', 'show', 'delete'])
->end()
->end()
->end()