public function GDPRFieldData::setSetting in General Data Protection Regulation 7
Get a stored setting.
Parameters
string $setting: The key of the setting to be stored.
mixed $value: The value to be stored.
Return value
$this Return this class.
File
- modules/
gdpr_fields/ src/ Plugins/ GDPRFieldData.php, line 222 - Contains the GDPRFieldData class.
Class
- GDPRFieldData
- Class for storing GDPR metadata for fields.
Code
public function setSetting($setting, $value) {
$this->settings[$setting] = $value;
return $this;
}