Params
attributes
(Object) – The custom attributes and their values of the new CMS object.
Throws
ArgumentError
– If a given attribute is invalid.
Returns
The created Obj
.
See also
Example
Create an object belonging to every site:
Creates a new Obj
with the given attributes
and assigns it to the site.
Params
attributes
(Object) – The custom attributes and their values of the new CMS object.Throws
ArgumentError
– If a given attribute is invalid.Returns
The created Obj
.
See also
Example
Create an object belonging to every site: