Method |
Description |
|
getBlockTypes ( ) : array |
Returns the fields' block types. |
|
getField ( ) : craft\FieldModel | null |
Returns the field the settings belong to. |
|
getGroups ( ) : array |
Returns the fields' groups. |
|
setBlockTypes ( $blockTypes ) |
Sets the fields' block types. |
|
setField ( craft\FieldModel $field = null ) |
Sets the field the settings belong to. |
|
setGroups ( $groups ) |
Sets the fields' groups. |
|
validate ( array | null $attributes = null, boolean | true $clearErrors = true ) : boolean |
Validates all the attributes, block types and groups. |
|