CloneableInstantiable
Methods |
public addOption( $option) Add an option to the block.
|
public clearOptions() Clear options available within the block.
|
public getLabel() Get the option group label.
|
public getOptions() Get options available within the block.
|
public getOptionsAsArrays() Get options available within the block in array format.
|
public hasSelectedOption() Get whether the option group has a selected option.
|
public setLabel( $label) Set the option group label.
|
public setOptions(array $options) Set options available within the block.
|
public toArray() Convert the block to its array representation.
|
Properties |
protected static $availableAttributes = ['label' => 'label', 'options' => 'options'] Internal attribute to property map.
|
protected $label = NULL Option group label.
|
protected $options = [] Options available within the block.
|
Methods |
Properties |
protected static $availableAttributes = ['label' => 'label', 'options' => 'options'] Internal attribute to property map.
|