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.