Skip to content

Commit

Permalink
Add "description_enabled" mapping option
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitro-N committed Jul 27, 2022
1 parent c80ee16 commit 666f5d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ public function getConfigTreeBuilder()
->scalarNode('upload_directory')->end()
->scalarNode('upload_directory_url')->end()
->scalarNode('namer')->defaultValue('glavweb_uploader.namer.uniqid')->end()
->booleanNode('description_enabled')
->info('Enables description field of media file model.')
->defaultTrue()
->end()
->end()
->end()
->arrayNode('mappings')
Expand Down Expand Up @@ -147,6 +151,10 @@ public function getConfigTreeBuilder()
->scalarNode('upload_directory')->end()
->scalarNode('upload_directory_url')->end()
->scalarNode('namer')->end()
->booleanNode('description_enabled')
->info('Enables description field of media file model.')
->defaultTrue()
->end()
->end()
->end()
->end()
Expand Down

0 comments on commit 666f5d6

Please sign in to comment.