You are here

function SettingInterface::get_value in Fasttoggle 8.2

Retrieve the current value of the setting.

Parameters

string $instance: The name of the particular attribute being toggled.

Return value

string The current key matching getHumanReadableValueList / getValueList.

File

src/Plugin/Setting/SettingInterface.php, line 53
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

function get_value($instance);