getType() must match the name in the admin, and resolve() returns a ContentView with a value for content and a list for view. Sulu detects every class with PropertyResolverInterface automatically. The ContentResolver collects everything and passes resource, content, view and extension to Twig.
Glossary Term
Property resolver
A class that prepares the stored value of a field for Twig. If a field type has none, Sulu passes the value on unchanged.