You are here

function SettingInterface::set_value in Fasttoggle 8.2

Modify the setting.

Parameters

string instance: The instance (role name / value index ... ) to modify.

mixed newValue: The new value to save

Return value

\Drupal\fasttoggle\Plugin\SettingObject\SettingObjectInterface The related object, so you can chain a call to its the save method.

File

src/Plugin/Setting/SettingInterface.php, line 66
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 set_value($instance, $newValue);