original_string: private function loadDocumentTree($config, ContainerBuilder $container)
      {
          $configuration = [
              'routing_defaults' => $config['routing_defaults'],
              'repository_name' => $config['repository_name'],
              'sortable_by' => $config['sortable_by'],
              'move' => true,
              'reorder' => true,
          ];
  
          $container->setParameter('sonata_admin_doctrine_phpcr.tree_block.configuration', $configuration);
  
          foreach ($configuration as $key => $value) {
              $container->setParameter('sonata_admin_doctrine_phpcr.tree_block.'.$key, $value);
          }
      }
code: private function loadDocumentTree($config, ContainerBuilder $container)
      {
          $configuration = [
              'routing_defaults' => $config['routing_defaults'],
              'repository_name' => $config['repository_name'],
              'sortable_by' => $config['sortable_by'],
              'move' => true,
              'reorder' => true,
          ];
  
          $container->setParameter('sonata_admin_doctrine_phpcr.tree_block.configuration', $configuration);
  
          foreach ($configuration as $key => $value) {
              $container->setParameter('sonata_admin_doctrine_phpcr.tree_block.'.$key, $value);
          }
      }
code_tokens: private function loadDocumentTree ( $ config , ContainerBuilder $ container ) { $ configuration = [ 'routing_defaults' => $ config [ 'routing_defaults' ] , 'repository_name' => $ config [ 'repository_name' ] , 'sortable_by' => $ config [ 'sortable_by' ] , 'move' => true , 'reorder' => true , ] ; $ container -> setParameter ( 'sonata_admin_doctrine_phpcr.tree_block.configuration' , $ configuration ) ; foreach ( $ configuration as $ key => $ value ) { $ container -> setParameter ( 'sonata_admin_doctrine_phpcr.tree_block.' . $ key , $ value ) ; } }
docstring: Set the document tree parameters and configuration.
  
  @param array            $config
  @param ContainerBuilder $container
docstring_tokens: Set the document tree parameters and configuration .