If a class is given, this function registers an unnamed CMS widget class under the given
Scrivito.provideWidgetClass generates a widget class using the given schema.
Widget classes serve as boilerplates for CMS widgets. Their main purpose is to define the attributes the instances require, for example an
html attribute named “content” and a
string attribute named “summary” .