# LibTmux::WindowLink::to_record

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/core/lib/LibTmux/Entity.pm#L21
- **Inherited from:** LibTmux::Entity
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-windowlink-to_record/

```
sub to_record($self)
```

Return a fresh hash reference of captured scalar fields and adjacency IDs. Editing it does not change the retained graph. Retaining the entity retains its captured graph, with no transport ownership or reference cycle.

## Methods
