CloneableInstantiable
Methods |
public getDescription() Get the option description.
|
public getText() Get the option text.
|
public getUrl() Get the option URL.
|
public getValue() Get the option value.
|
public isInitiallySelected() Get whether the option group has a selected option.
|
public setDescription( $description) Set the option description.
|
public setInitiallySelected( $selected) Set whether the option group has a selected option.
|
public setText( $text) Set the option text.
|
public setUrl( $url) Set the option URL.
|
public setValue( $value) Set the option value.
|
public toArray() Convert the block to its array representation.
|
Properties |
protected static $availableAttributes = ['text' => 'text', 'value' => 'value', 'description' => 'description', 'url' => 'url', 'selected' => 'initially_selected'] Internal attribute to property map.
|
protected $description = NULL Option group description.
|
protected $initially_selected = false Whether this option is initially selected.
|
protected $text = NULL Option text.
|
protected $url = NULL URL to be loaded when the option is clicked.
|
protected $value = NULL Option value.
|
Methods |
Properties |
protected static $availableAttributes = ['text' => 'text', 'value' => 'value', 'description' => 'description', 'url' => 'url', 'selected' => 'initially_selected'] Internal attribute to property map.
|