protected function addRouteConfiguration($routeName)
    {
        $builder = new TreeBuilder();
        $node = $builder->root($routeName);
        $node
            ->isRequired()
            ->children()
                ->scalarNode('route')
                    ->isRequired()
                    ->cannotBeEmpty()
                ->end()
                ->booleanNode('order_append')
                    ->defaultTrue()
                ->end()
                ->scalarNode('order_append_field')
                    ->defaultValue('order_id')
                ->end()
            ->end();

        return $node;
    }