app/Http/Controllers/AdminTreesController.php
private function checkLink(Tree $tree, string $xref): string
    {
        return '<b><a href="' . e(route('record', [
                'xref' => $xref,
                'ged'  => $tree->name(),
            ])) . '">' . $xref . '</a></b>';
    }
private function checkLink(Tree $tree, string $xref): string
    {
        return '<b><a href="' . e(route('record', [
                'xref' => $xref,
                'ged'  => $tree->name(),
            ])) . '">' . $xref . '</a></b>';
    }
private function checkLink ( Tree $ tree , string $ xref ) : string { return '<b><a href="' . e ( route ( 'record' , [ 'xref' => $ xref , 'ged' => $ tree -> name ( ) , ] ) ) . '">' . $ xref . '</a></b>' ; }
Format a link to a record.

@param Tree   $tree
@param string $xref

@return string
Format a link to a record .