mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
work on basic CRUDController and improve configuration
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user