ValueDefinitionInterface
ValueDefinitionInterface.php
:
17
Interface for displaying User Preferences in the Admin UI.
User Preferences are not displayed by default unless ValueDefinitionInterface implementation is provided.
Methods¶
getDefaultValue() ¶
ValueDefinitionInterface.php
:
37
Returns default value for User Preference if none is defined.
|
|
Return values
string
getDescription() ¶
ValueDefinitionInterface.php
:
27
Returns description of a User Preference displayed in UI.
|
|
Return values
string
getDisplayValue() ¶
ValueDefinitionInterface.php
:
32
Returns formatted value to be displayed in UI.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$storageValue | string | - | - |
Return values
string
getName() ¶
ValueDefinitionInterface.php
:
22
Returns name of a User Preference displayed in UI.
|
|
Return values
string