Returns
The attribute definitions of the CMS widget class. The keys are attribute names, and the values are two-element tuples each of which consists of the attribute type (String) and the specification of the corresponding attribute:
values(Array of String or undefined) – The list of allowed values if the attribute’s type isenumormultienum, otherwiseundefined.only(Array of String or undefined) –With a
widgetlistattribute, the value ofonlyis an optional list of widget class names. Only instances of these classes can be placed into the attribute. If the list is empty, widgets of any type can be placed into the attribute.With a
referenceor areferencelistattribute, the value ofonlyis an optional list of object class names. Only instances of these classes can be placed into the attribute. If the list is empty, objects of any type can be placed into the attribute. It isundefinedotherwise.