public function SettingInterface::previousValue in Fasttoggle 8.2
Move to the previous setting value and save it.
(Allows some widget to implement forward and back buttons if desired).
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 84 - 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\SettingCode
public function previousValue($instance);