Skip to content

Commit

Permalink
Fix configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
msalsas committed Apr 4, 2020
1 parent c3d0011 commit 015ee48
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions DependencyInjection/Configuration.php
Expand Up @@ -19,27 +19,21 @@ public function getConfigTreeBuilder()
$rootNode = $builder->getRootNode();
$rootNode->children()
->booleanNode('has_translations')
->isRequired()
->defaultValue(true)
->end()
->scalarNode('css')
->isRequired()
->defaultValue('default')
->end()
->integerNode('fade_time')
->isRequired()
->defaultValue(1)
->end()
->scalarNode('text_message')
->isRequired()
->defaultValue('Text')
->defaultValue('')
->end()
->scalarNode('accept_message')
->isRequired()
->defaultValue('Accept')
->defaultValue('')
->end()
->scalarNode('time_to_expire')
->isRequired()
->defaultValue('30 days')
->end()
->end();
Expand Down

0 comments on commit 015ee48

Please sign in to comment.