Skip to content

MultiOptionsFieldData ​

Type
Class
Namespace
craft\fields\data
Inherits
craft\fields\data\MultiOptionsFieldData » ArrayObject
Since
3.0.0

Multi-select option field data class.

View source

Public Methods ​

MethodDescription
contains()
getOptions()Returns the options.
setOptions()Sets the options.

contains() ​

View source

Arguments ​

  • $value (mixed)

Returns ​

boolean

getOptions() ​

Returns the options.

View source

Returns ​

craft\fields\data\OptionData[]

setOptions() ​

Sets the options.

View source

Arguments ​