You are here

public function SettingInterface::getHumanReadableValueList in Fasttoggle 8.2

Get a plain text list of human readable labels for the setting, in the order used.

This allows human readable labels to be sorted in non-alphabetical order. Note that the widget object may use this or an attribute of the value itself to render an icon, an ajax link or something else.

Return value

array An array of human readable values, in the order they will appear when stepping through them.

File

src/Plugin/Setting/SettingInterface.php, line 98
Provides Drupal\fasttoggle\SettingInterface.

Class

SettingInterface
Interface for settings. Plugin strings are used for quick filtering without the need to instantiate the class.

Namespace

Drupal\fasttoggle\Plugin\Setting

Code

public function getHumanReadableValueList();