CloneableInstantiable
Methods |
public addOption( $option) Add an option to the radio buttons.
|
public clearOptions() Clear options available.
|
public getInitialOption() Get the intially selected option.
|
public toArray() Convert the block to its array representation.
|
Properties |
protected static $availableAttributes = ['action_id' => 'action_id', 'options' => 'options', 'confirm' => 'confirm'] Internal attribute to property map.
|
protected $hasInitialOption = false Whether one of the radio buttons is initially selected.
|
protected $type = 'radio_buttons' Block type.
|
Methods |
Properties |
protected static $availableAttributes = ['action_id' => 'action_id', 'options' => 'options', 'confirm' => 'confirm'] Internal attribute to property map.
|
Methods |