Get singletons by custom API


I use with:


To get the menu collections but I also want to get some singletons,
I tried:


but I got null, how can I get the singletons?
And also be nice to get link to full cockpit documentation, because not really help me :slight_smile:


Singletons don’t have a find function. Use cockpit('singletons')->getData('homepage') instead.

PS: For code blocks you can use back-ticks

1 Like

Thank You very much!