public function Subscriber::getChanges in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Entity/Subscriber.php \Drupal\simplenews\Entity\Subscriber::getChanges()
- 3.x src/Entity/Subscriber.php \Drupal\simplenews\Entity\Subscriber::getChanges()
Returns the changes.
Return value
array The subscriber changes.
Overrides SubscriberInterface::getChanges
File
- src/
Entity/ Subscriber.php, line 181
Class
- Subscriber
- Defines the simplenews subscriber entity.
Namespace
Drupal\simplenews\EntityCode
public function getChanges() {
return unserialize($this
->get('changes')->value);
}