app/Http/Controllers/HomePageController.php
public function treePageBlockUpdate(ServerRequestInterface $request, Tree $tree, UserInterface $user): ResponseInterface
    {
        $block    = $this->treeBlock($request, $tree, $user);
        $block_id = (int) $request->get('block_id');

        $block->saveBlockConfiguration($request, $block_id);

        return redirect(route('tree-page', ['ged' => $tree->name()]));
    }
public function treePageBlockUpdate(ServerRequestInterface $request, Tree $tree, UserInterface $user): ResponseInterface
    {
        $block    = $this->treeBlock($request, $tree, $user);
        $block_id = (int) $request->get('block_id');

        $block->saveBlockConfiguration($request, $block_id);

        return redirect(route('tree-page', ['ged' => $tree->name()]));
    }
public function treePageBlockUpdate ( ServerRequestInterface $ request , Tree $ tree , UserInterface $ user ) : ResponseInterface { $ block = $ this -> treeBlock ( $ request , $ tree , $ user ) ; $ block_id = ( int ) $ request -> get ( 'block_id' ) ; $ block -> saveBlockConfiguration ( $ request , $ block_id ) ; return redirect ( route ( 'tree-page' , [ 'ged' => $ tree -> name ( ) ] ) ) ; }
Update block config options.

@param ServerRequestInterface $request
@param Tree                   $tree
@param UserInterface          $user

@return ResponseInterface
Update block config options .