Skip to content

Commit

Permalink
Fix default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Rabaix committed Mar 6, 2012
1 parent e12fe3b commit b4895fd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,12 @@ public function getConfigTreeBuilder()
->end()
->end()
->arrayNode('blocks')
->defaultValue(array(array('position' => 'left', 'type' => 'sonata.admin.block.admin_list')))
->defaultValue(array(array('position' => 'left', 'settings' => array(), 'type' => 'sonata.admin.block.admin_list')))
->prototype('array')
->children()
->scalarNode('type')->cannotBeEmpty()->end()
->arrayNode('settings')
->useAttributeAsKey('id')
->prototype('scalar')->end()
->prototype('scalar')->defaultValue(array())->end()
->end()
->scalarNode('position')->defaultValue('right')->end()
->end()
Expand Down

0 comments on commit b4895fd

Please sign in to comment.