public function Subscriber::setChanges in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Entity/Subscriber.php \Drupal\simplenews\Entity\Subscriber::setChanges()
- 8 src/Entity/Subscriber.php \Drupal\simplenews\Entity\Subscriber::setChanges()
Sets the changes.
Parameters
string $changes: The subscriber changes.
Overrides SubscriberInterface::setChanges
File
- src/
Entity/ Subscriber.php, line 188
Class
- Subscriber
- Defines the simplenews subscriber entity.
Namespace
Drupal\simplenews\EntityCode
public function setChanges($changes) {
$this
->set('changes', serialize($changes));
}