Returns
The attribute definitions of the corresponding 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 isenum
ormultienum
, otherwiseundefined
.only
(Array of String or undefined) –With a
widgetlist
attribute, the value ofonly
is 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
reference
or areferencelist
attribute, the value ofonly
is 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 isundefined
otherwise.