How is restored a LV2 plug-in state?

I’m trying to understand how the LV2 state extension is implemented in Ardour 5 (http://lv2plug.in/ns/ext/state/)

But I can’t find where exactly in the code the state.ttl Turtle file for a given plug-in is loaded. Could someone give me some directions so I will know where to look?

Thanks in advance,

  • Sylvain

(related to https://community.ardour.org/node/15646)